POST/oauth/token
Exchange client credentials for a bearer access token.
Request body
| Name | Type | Required | Description |
|---|---|---|---|
| client_id | string | Yes | Client identifier issued to the partner. |
| client_secret | string | Yes | Client secret issued to the partner. |
curl -X POST "https://api.synthology.com/groove/v1/oauth/token" \
-H "Content-Type: application/json" \
-d '{"client_id":"YOUR_CLIENT_ID","client_secret":"YOUR_CLIENT_SECRET"}'{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.example",
"token_type": "Bearer",
"expires_in": 3600
}