Tags

List tags

Retrieves paginated tags scoped to the active organization.

get/tags

Request

  • Base URL: https://viral.app/api/v1
  • URL: https://viral.app/api/v1/tags
  • Auth: API key in header x-api-key

Query parameters

pagenumber

Page number (1-based index)

Example:1
perPagenumber

Number of items per page (1-100)

Example:10
sortColstring

Sort column

Example:publishedAt
sortDir'asc' | 'desc'

Sort direction

Example:asc
searchstring
scopesstring[] nullable

Tag scopes

[
  "system",
  "org"
]

Response

OK

pageCountnumber required

Total number of pages

totalRowsnumber required

Total number of rows

Example response

{
  "data": [
    {
      "color": "#2563EB"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.