Get all tags

GET /api/v1/tag

Query parameters

  • sort string

    Field to sort by. Valid fields are [created_at, updated_at, name, slug]. Negative sign to denote DESC. Defaults to 'name'.

  • Filter by a comma separated list of UUIDs.

  • Filter by partial tag name

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
GET /api/v1/tag
curl \
 -X GET https://api.plannrcrm.com/api/v1/tag \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json"
Response examples (200)
{
  "data": [
    {
      "name": "Mortgage",
      "slug": "mortgage",
      "uuid": "dd75deac-a817-4be6-826a-128fa6673ac2",
      "colour": "#ef4582",
      "created_at": "2024-10-16T11:10:15+01:00",
      "updated_at": "2024-10-16T11:10:15+01:00"
    }
  ]
}