Skip to main content
POST
/
api
/
tags
/
list
Get all tags for a project
curl --request POST \
  --url https://api.mentionlab.io/api/tags/list \
  --header 'Content-Type: application/json' \
  --header 'x-organisation-id: <x-organisation-id>' \
  --header 'x-project-id: <x-project-id>' \
  --data '
{
  "name": "<string>",
  "sort": [
    "<string>"
  ]
}
'
{
  "page": {
    "totalRecords": 123,
    "limit": 123,
    "currentPage": 123,
    "totalPages": 123,
    "nextPage": 123,
    "prevPage": 123
  },
  "results": [
    {
      "id": 1,
      "project": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
      "name": "feature",
      "color": "#3B82F6"
    }
  ]
}

Headers

x-organisation-id
string
required

Organisation ID to specify the organisation context

x-project-id
string
required

Project ID to specify the project context

Query Parameters

limit
number
Example:

50

page
number
Example:

1

Body

application/json
name
string
sort
string[]

Response

200 - application/json
page
object
required
results
object[]