/
OAuth token endpoint
Accepts application/x-www-form-urlencoded or application/json.
authorization_code grant: grant_type, code, code_verifier, client_id, redirect_uri
refresh_token grant: grant_type, refresh_token, client_id
The grant type. Use authorization_code for desktop/CLI apps (requires PKCE), or refresh_token to refresh an expired access token.
Enum:"authorization_code""refresh_token"
PKCE code verifier. The random string used to generate the code_challenge. Required for authorization_code grant.
The client_id returned during client registration. Required for both grant types.
Must match the redirect_uri used in the authorization request. Required for authorization_code grant.
The refresh token from a previous token response. Required for refresh_token grant.
- Productionhttps://api-dashboard.influencers.club/public/v1/oauth/token/
curl -i -X POST \
https://api-dashboard.influencers.club/public/v1/oauth/token/ \
-H 'Content-Type: application/json' \
-d '{
"grant_type": "authorization_code",
"code": "string",
"code_verifier": "string",
"client_id": "string",
"redirect_uri": "string",
"refresh_token": "string",
"resource": "string"
}'Response
{ "access_token": "string", "refresh_token": "string", "token_type": "string", "expires_in": 0, "scope": "string" }