Tags

List all tags for the authenticated user's company

GET
/api/v1/tags

List all tags for the authenticated user's company

Retrieve a list of tags for the authenticated user's company. Results are ordered by creation date (newest first).

Authorization

bearerAuth
AuthorizationBearer <token>

Console session token (Authorization: Bearer <session>) or product API key (Authorization: Bearer <api-key> or x-api-key). Session tokens are validated via Better Auth get-session; API keys against the shared database.

In: header

Query Parameters

auto_assign?|

Filter by auto_assign flag. True if the tag can be automatically assigned by the system, False if it can only be assigned manually.

name?|

Filter by tag name (case-insensitive partial match)

page?|

A page number within the paginated result set.

page_size?|

Number of results to return per page.

Header Parameters

authorization?string|null
x-api-key?string|null

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/tags"
{  "count": 123,  "next": "http://api.example.org/accounts/?page=4",  "previous": "http://api.example.org/accounts/?page=2",  "results": [    {      "id": 0,      "name": "string",      "description": "string",      "auto_assign": true,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "document_count": 0    }  ]}