post
https://api-v2.pandavideo.com.br/notifications/contacts
Registers an email or phone contact for the authenticated login. Up to 3 per type.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Registers an email or phone contact for the authenticated login. Up to 3 per type (3 emails + 3 phones).
Request body
| Field | Type | Required | Description |
|---|---|---|---|
type | string | yes | email or phone (lowercase). |
value | string | yes | Email address, or phone in international format with country code: +5511999990000. |
{ "type": "phone", "value": "+5511999990000" }
Phone numbers must use international format with+and country code.(11) 99999-0000returns 400. This is different from the user'sphonefield, which accepts free text.
Example response
{ "id": "{contact_id}", "type": "phone", "value": "+5511999990000" }Errors
| Error code | Cause |
|---|---|
CONTACT_ALREADY_EXISTS | This address is already registered for the login. |
CONTACT_LIMIT_REACHED | The login already has 3 contacts of this type. |
BadRequest | Invalid type, email or phone format. |
