cURL
curl --request POST \ --url https://api.prod.getdex.com/v1/tags/contacts/{contactId}/create-assign \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "tagNames": [ "<string>" ] } '
{ "error": true, "message": "<string>", "data": { "tags": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "color": "<string>", "created_at": "<string>", "updated_at": "<string>" } ] } }
Create new tags and immediately assign them to a specific contact in a single operation. Tags that already exist with the same name are reused.
Use your Dex API key (e.g. dex_abc123...) as the Bearer token.
1
Successful response
Show child attributes
Was this page helpful?