Tags

GET /:account/contacts/tags

Provides a list of all the contact tags linked to the account.

Examples

##

Request

GET /my_account/contacts/tags
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X GET /my_account/contacts/tags
    

Response

Status

200

Response Type

hydra:Collection

Example Body

{
  "@type": "hydra:Collection",
  "@context": "/contexts/hydra:Collection.jsonld",
  "id": "/my_account/contacts/tags",
  "members": [
    {
      "@type": "ContactTag",
      "@context": "/contexts/ContactTag.jsonld",
      "id": "stuff",
      "tag": "stuff"
    },
    {
      "@type": "ContactTag",
      "@context": "/contexts/ContactTag.jsonld",
      "id": "tag2",
      "tag": "tag2"
    },
    {
      "@type": "ContactTag",
      "@context": "/contexts/ContactTag.jsonld",
      "id": "tag one",
      "tag": "tag one"
    }
  ],
  "totalItems": 3
}

© 2024 TextUs