# Listar Chaves

## Listar todas as chaves pix

<mark style="color:blue;">`GET`</mark> `https://dev.stric.com.br/pix/keys`

#### Headers

| Name                                            | Type   | Description               |
| ----------------------------------------------- | ------ | ------------------------- |
| authorization<mark style="color:red;">\*</mark> | String | Bearer token              |
| account<mark style="color:red;">\*</mark>       | String | ID da conta a ser operada |

{% tabs %}
{% tab title="200: OK " %}

```javascript
[
  {
      "id": "e79d77e2-0cd1-4f4c-83eb-cf24eadd009c",
      "key": "08101392009",
      "type": "document",
      "typeCode": 1,
      "status": "REGISTERED",
      "date": "2022-06-16T16:58:33.789Z"
  },
    {
      "id": "e79d77e2-0cd1-4f4c-83eb-cf24eadd009c",
      "key": "543389a9-582c-4b48-be12-1d0013bfb4ab
      
      ",
      "type": "random",
      "typeCode": 4,
      "status": "REGISTERED",
      "date": "2022-06-16T16:58:33.789Z"
  },
]
```

{% endtab %}
{% endtabs %}

### Possíveis status&#x20;

| Status       | Descrição                         |
| ------------ | --------------------------------- |
| WAITING      | Chave aguardando registro         |
| REGISTERED   | Chave criada e registrada         |
| PRE-CANCELED | Chave em processo de cancelamento |
| CANCELED     | Chave cancelada/deletada          |

### Tipos de chaves

| Tipo (typeCode) |                 |
| --------------- | --------------- |
| 1               | CPF/CNPJ        |
| 2               | E-mail          |
| 3               | Celular         |
| 4               | Chave aleatória |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stric.com.br/documentacao/pix/chaves-pix/listar-chaves.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
