Add Tags

Agrega TAGS a un contacto

Adds tags for a specific contact.

POST /v2/contact/{identifier}/tag

Provide your bearer token in the Authorization header when making requests to protected resources. Example: Authorization: Bearer 123

Identifier of the contact that can either be a phone number, email or contact ID. Examples: id:123 , email:[email protected] , phone:+593998944856

Path Parameters

Name
Type
Description

identifier*

String

Headers

Name
Type
Description

Token*

Bearer token

Request Body

Name
Type
Description

Tags*

Array

{
  "contactId": 0
}

Ejemplo de la petición:

curl --request POST \
  --url https://api.chatapi.net/v2/contact/identifier/tag \
  --header 'Authorization: Bearer 123456789012345678901234567890' \
  --header 'Content-Type: application/json' \
  --data '[
  "abc"
]'

Respuesta - Success (HTTP status → 200)

{
  "contactId": 0
}

Last updated