Skip to main content
POST
/
contacts
/
{id}
/
tags
Add a tag to a contact
curl --request POST \
  --url https://app.leonar.app/api/v1/contacts/{id}/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tag_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "error": {
    "code": "invalid_api_key",
    "message": "Invalid API key"
  }
}

Authorizations

Authorization
string
header
required

API key starting with leo_

Path Parameters

id
string<uuid>
required

Contact ID

Body

application/json
tag_id
string<uuid>
required

Response

Tag added