OAuth Consent

Data for the OAuth consent screen

get/oauth/consent-info

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/oauth/consent-info
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Query parameters

client_idstring required
redirect_uristring required
code_challengestring required
code_challenge_methodstring required
statestring nullable
resourcestring nullable
workspace_idinteger nullable

Response

Consent screen data

has_workspace_accessboolean required

False when the user is not an active member of the app's workspace

workspace_selectableboolean required

True when the workspace the person picks is the one used; false when the app is bound to its own workspace

Changes

No recorded changes to this operation across all 3 revisions of this API.