younifyd
Menu

Introspect Token

Return token properties.

POST/organizations/{organizationId}/oauth2/introspect

Use it in a workflow

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Introspect Token action (under Auth (SLAS)).
  3. Fill in the fields below, then reference the result from later steps as {{introspectToken.response.data}}.

Request

Path parameters

organizationIdstringrequired

An identifier for the Salesforce Commerce Cloud organization the request is being made by. It consists of a prefix 'f_ecom_' followed by a 4-character [realm identifier](https://developer.salesforce.com/docs/commerce/commerce-api/guide/get-started.html) and a 3-character [instance type identifier](https://developer.salesforce.com/docs/commerce/commerce-api/guide/get-started.html#instance-types).

Headers

Authorizationstringrequired

Base64 string for HTTP Basic authentication.

Request body

Enter the body as JSON in the step's Body field.

tokenstringrequired

Token to inspect or revoke.

token_type_hintstring

Token Type Hint

One ofaccess_tokenrefresh_token

json
{
  "token": "EgMYpjfFKdlSy-a3PYeyihmP95IpIp3FaDpPmVH1yu8.lahomBi7zJbRa6yKAuAAiKu3lprTPsEueKwqcBvhRLU",
  "token_type_hint": "access_token"
}

Response

Returns 200 with an object. Read it in later steps with {{introspectToken.response.data.<field>}}.

tokenstring

Token to inspect or revoke.

token_type_hintstring

Token Type Hint

One ofaccess_tokenrefresh_token

json
{
  "token": "EgMYpjfFKdlSy-a3PYeyihmP95IpIp3FaDpPmVH1yu8.lahomBi7zJbRa6yKAuAAiKu3lprTPsEueKwqcBvhRLU",
  "token_type_hint": "access_token"
}

Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.

Introspect Token — Salesforce Commerce Cloud — Documentation