Skip to content

Initiate OAuth authorization

Request

OAuth 2.1 authorization endpoint. The client opens the browser at this URL; valid requests are redirected to the frontend consent page where the user approves access.

Query
client_idstringrequired

The client_id returned during client registration.

redirect_uristringrequired

The URI to redirect to after authorization. Must match one of the registered redirect URIs.

response_typestringrequired

Must be code.

code_challengestringrequired

PKCE code challenge. Base64url-encoded SHA-256 hash of the code verifier.

code_challenge_methodstring

PKCE method. Only S256 is supported. Defaults to S256 if omitted.

Default:"S256"
scopestring

Space-separated list of requested scopes. Available value: all. Defaults to the full set of scopes granted during registration if omitted.

Default:""
statestring

Opaque value to maintain state between the request and the callback. Returned unchanged in the redirect.

Default:""
resourcestring

RFC 8707 resource indicator — the canonical URI of the API this token will be used against. Forwarded through consent and bound to the issued token.

Default:""
curl -i -X GET \
  'https://api-dashboard.influencers.club/public/v1/oauth/authorize/?client_id=string&redirect_uri=string&response_type=string&code_challenge=string&code_challenge_method=S256&scope=&state=&resource='

Responses

Redirect to the consent page

Bodyapplication/json
property name*anyadditional property
Response
{ "property1": null, "property2": null }