OAuth App Access Token
DescriptionGet access token, in the specified org, for an Oauth app/service account using the Oauth app’s id and password (a.k.a client credentials).
Request
URLURL
Path Parameters
Path Parameters
Unique identifier (GUID) of the organization.
Request Body
Request body to fetch access token of OAuth app
{
"clientId": "...",
"clientSecret": "..."
}
The unique identifier of the client.
The value of the client secret.
Authentication
Response
Response BodyResponse Body
201 Created
{
"accessToken": "...",
"idToken": "...",
"refreshToken": "...",
"returnUrl": "..."
}
The access token. This is a JWT token that grants access to resources.
The ID Token is a signed JWT token returned from the authorization server and contains the user’s profile information, including the domain of the identity provider. This domain is used to obtain the identity provider URL. This token is used for optimization so the application can know the identity of the user, without having to make any additional network requests. This token can be generated via the Authorization Code flow only.
The value of the Refresh token.
Defines the return URL here.
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
Vendor Extensions
x-codegen-request-body-name: body