This guide walks you through authentication, obtaining an access token, and making your very first request against the Quinyx API.
Before you can use the API, you need credentials.
Each credential set contains:
- Client ID – identifies your integration
- Client Secret – private key used for authentication
- Scopes – permissions defining what your integration can access
Credentials are generated in Integrations credentials page.
To create a new API credential:
- Log in to Quinyx
- Navigate to Account Settings → Integrations credentials
- Click Generate credentials
- Choose a name for the credential set.
- Copy the Client ID and Client Secret (you’ll need these for authentication).
- Assign the appropriate scopes (permissions) for your integration.
Quinyx uses the OAuth 2.0 for authentication. You will need to request a bearer token and use it in all subsequent requests.
Token Endpoint:
POST https://api.eu.quinyx.com/oauth/v3/tokencurl -X POST "https://api.eu.quinyx.com/oauth/v3/token?grant_type=client_credentials" \
-u "YOUR_CLIENT_ID:YOUR_CLIENT_SECRET"{
"expires_in": 3599,
"jti": "ddbcd0a5-8197-4653-9664-248eb48ce8d1",
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6...",
"scope": "read write",
"token_type": "bearer"
}The access_token must be passed in every request to the API using the Authorization: Bearer header. Tokens expire after the time defined in expires_in (usually 3600 seconds = 1 hour).
With your token in hand, add it to the Authorization header using the Bearer scheme.
curl -X GET "https://api.eu.quinyx.com/organization/groups" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"GET /organization/v3/groups
Host: api.eu.quinyx.com
Content-Type: application/json
{
"data": [
{
"id": "1",
"name": "My district",
"groupType": "DISTRICT",
"managerId": "87",
"xrefIds": [
"my_external_id_10"
],
"created": "2025-01-01T12:00:00Z",
"updated": "2025-01-01T12:00:00Z"
},
{
"id": "2",
"groupType": "UNIT",
"name": "My unit",
"parentGroupId": "1",
"managerId": "87",
"costCentreId": "1",
"xrefIds": [
"my_external_id_11"
],
"created": "2025-01-01T12:00:00Z",
"updated": "2025-01-01T12:00:00Z"
},
{
"id": "3",
"groupType": "SECTION",
"name": "My section",
"parentGroupId": "2",
"managerId": "87",
"costCentreId": "1",
"xrefIds": [
"my_external_id_12"
],
"created": "2025-01-01T12:00:00Z",
"updated": "2025-01-01T12:00:00Z"
}
],
"pagination": {
"nextPageToken": "cHJldmlvdXNUb2tlbg"
}
}✅ You’ve successfully obtained an access token and called your first Quinyx API endpoint!
- Browse other guides
- Explore endpoints in the API Reference
- Try out requests with your token to start building integrations