Log In

Set the Tags on a Contact

put/public/v1/contacts/{contact}/tags

Replaces the contact's tags with the ones sent, and returns them all. Send an empty tags list to remove every tag.

  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • contactstringrequired

    The contact UUID

  • page[size]integer

    Number of results per page. Minimum 1, maximum 100.

    Default:25
  • page[number]integer

    The page number to retrieve. Use the last_page value from the meta response to determine the total number of pages available.

    Default:1

Body

application/json
  • tagsobject[]requiredmax items 100
    ▶Show 1 child attributes
    • idstringrequired

Response

200application/json

Array of ContactTagResource

  • dataobject[]required
    ▶Show 3 child attributes
    • idstringrequired
      Example:c4a5b6c7-d8e9-40f1-a2b3-c4d5e6f7a8b9
    • namestringrequired
      Example:GP
    • colourstring | nullrequired
      Example:#1f2e56
  • 401Unauthenticated
  • 403Authorization error
  • 404Not found
  • 422Validation error