Skip to Content
Contacts

Assign a tag to a contact

Permissioncontacts:updateAuthentication
PUT
/contacts/{id}/tags/{tagId}

Ensures the contact has this tag. Repeating the same request is a successful no-op, which makes the endpoint safe for declarative agents and retries. The request has no body.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Path Parameters

id*string

Contact ID.

Formatuuid
tagId*string

Contact-tag ID.

Formatuuid

Response Body

Tag is assigned. The response has no body, including when it was already assigned.

Example Request
curl -X PUT 'https://api.kejue.co/v1/contacts/497f6eca-6276-4993-bfeb-53cbbbba6f08/tags/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty