Update a tag
PATCH
Renames or recolors a tag on every contact that has it. A name already in use, in any case, answers 409 conflict.
Scope: tags:write.
bearerAuthheader
AuthorizationBearer <token>An organization API key, rky_live_…, created in Settings → API. Send it only from a server.
tag_id*stringTag ID.
Format
uuidIdempotency-Key?stringOptional. A value you choose, unique per logical write, 8–200 characters: a UUID or an ID from your system such as order-10482-ready. Retrying with the same key and body replays the first response instead of repeating the write.
Length
8 <= length <= 200application/json- body
Only the fields you send change, on every contact that has the tag.
name?stringDisplay name, unique in the organization regardless of case.
Length
1 <= length <= 40color?stringDisplay color.
Value in
"gray""red""orange""amber""green""teal""blue""indigo""purple""pink"Success.
application/json- response
data*A label applied to contacts.
curl -X PATCH 'https://getricky.ai/api/v1/tags/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Idempotency-Key: order-10482-ready' \ -H 'Content-Type: application/json' \ -d '{ "name": "Cliente VIP", "color": "purple"}'{ "data": { "id": "5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f", "name": "Cliente frecuente", "color": "gray" }}