GET
/
v2
/
labels
curl --request GET \
  --url https://thirdparty.qonto.com/v2/labels \
  --header 'Authorization: Bearer <token>'
{
  "labels": [
    {
      "id": "171dba70-c75f-4337-b419-377a59bc9cf3",
      "name": "Fantastic Marble Wallet",
      "parent_id": null
    },
    {
      "id": "2487a014-618f-40e3-8a1f-eb76e883efc5",
      "name": "Fantastic Bronze Computer",
      "parent_id": "171dba70-c75f-4337-b419-377a59bc9cf3"
    }
  ],
  "meta": {
    "current_page": 1,
    "next_page": null,
    "prev_page": null,
    "total_pages": 1,
    "total_count": 2,
    "per_page": 100
  }
}

Authorizations

Authorization
string
header
required

Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.

Headers

X-Qonto-Staging-Token
string

Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.

Query Parameters

page
string

Returned page (cf. Pagination).

per_page
string

Number of labels per page (cf. Pagination).

Response

200
application/json
Returns the list of labels for the authenticated organization.

The response is of type object.