> For the complete documentation index, see [llms.txt](https://docs.astraapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.astraapi.com/integrando/contatos/pegar-foto-de-perfil-de-um-contato.md).

# Pegar foto de perfil de um contato

O link retornado nesse endpoint dura 48 horas, após esse período o link é desabilitado pelo próprio WhatsApp.

<mark style="color:blue;">`GET`</mark> `https://api.astraapi.com/api/contacts/profile-picture/{{instanceId}}`

#### Path Parameters

| Name                                         | Type   | Description         |
| -------------------------------------------- | ------ | ------------------- |
| instanceId<mark style="color:red;">\*</mark> | Number | Número da instancia |

#### Query Parameters

| Name                                    | Type   | Description                                     |
| --------------------------------------- | ------ | ----------------------------------------------- |
| phone<mark style="color:red;">\*</mark> | String | Telefone que você deseja pegar a foto de perfil |

#### Headers

| Name                                            | Type   | Description            |
| ----------------------------------------------- | ------ | ---------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Seu token de segurança |

{% tabs %}
{% tab title="200: OK Url da foto" %}

```json
"google.com/suaurl/issoeumexemplo"
```

{% endtab %}
{% endtabs %}
