Skip to content

Sync tags for a contact

POST
/api/v1/tags/sync
curl --request POST \
--url https://renotify.app/api/v1/tags/sync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "contact_id": 12, "tag_ids": [ 1, 2 ] }'

Replace all tag assignments for a contact with the provided tag list.

Media typeapplication/json
object
contact_id
required

The contact ID to update.

integer
Example
12
tag_ids
required

The complete tag IDs to keep on the contact.

Array<string>
Example
[
1,
2
]