CreateTokenRequest

Access ControlAuthenticationAmazon Web ServicesIdentity and Access ManagementSSO

Properties

Name Type Description
clientId string The unique identifier string for the client or application. This value comes from the result of the RegisterClient API.
clientSecret string A secret string generated for the client. This value should come from the persisted result of the RegisterClient API.
grantType string Supports the following OAuth grant types: Authorization Code, Device Code, and Refresh Token. Specify one of the following values, depending on the grant type that you want: * Authorization Code - aut
deviceCode string Used only when calling this API for the Device Code grant type. This short-lived code is used to identify this authorization request. This comes from the result of the StartDeviceAuthorization API.
code string Used only when calling this API for the Authorization Code grant type. The short-lived code is used to identify this authorization request.
refreshToken string Used only when calling this API for the Refresh Token grant type. This token is used to refresh short-lived tokens, such as the access token, that might expire. For more information about the features
scope array The list of scopes for which authorization is requested. This parameter has no effect; the access token will always include all scopes configured during client registration.
redirectUri string Used only when calling this API for the Authorization Code grant type. This value specifies the location of the client or application that has registered to receive the authorization code.
codeVerifier string Used only when calling this API for the Authorization Code grant type. This value is generated by the client and presented to validate the original code challenge value the client passed at authorizat
View JSON Schema on GitHub

JSON Schema

amazon-iam-identity-center-create-token-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam-identity-center/json-schema/amazon-iam-identity-center-create-token-request-schema.json",
  "title": "CreateTokenRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-identity-center-operations-api-openapi.yml#/components/schemas/CreateTokenRequest",
  "type": "object",
  "properties": {
    "clientId": {
      "type": "string",
      "description": "The unique identifier string for the client or application. This value comes from the result of the RegisterClient API."
    },
    "clientSecret": {
      "type": "string",
      "description": "A secret string generated for the client. This value should come from the persisted result of the RegisterClient API."
    },
    "grantType": {
      "type": "string",
      "description": "Supports the following OAuth grant types: Authorization Code, Device Code, and Refresh Token. Specify one of the following values, depending on the grant type that you want: * Authorization Code - authorization_code * Device Code - urn:ietf:params:oauth:grant-type:device_code * Refresh Token - refresh_token"
    },
    "deviceCode": {
      "type": "string",
      "description": "Used only when calling this API for the Device Code grant type. This short-lived code is used to identify this authorization request. This comes from the result of the StartDeviceAuthorization API."
    },
    "code": {
      "type": "string",
      "description": "Used only when calling this API for the Authorization Code grant type. The short-lived code is used to identify this authorization request."
    },
    "refreshToken": {
      "type": "string",
      "description": "Used only when calling this API for the Refresh Token grant type. This token is used to refresh short-lived tokens, such as the access token, that might expire. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference."
    },
    "scope": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The list of scopes for which authorization is requested. This parameter has no effect; the access token will always include all scopes configured during client registration."
    },
    "redirectUri": {
      "type": "string",
      "description": "Used only when calling this API for the Authorization Code grant type. This value specifies the location of the client or application that has registered to receive the authorization code."
    },
    "codeVerifier": {
      "type": "string",
      "description": "Used only when calling this API for the Authorization Code grant type. This value is generated by the client and presented to validate the original code challenge value the client passed at authorization time."
    }
  },
  "required": [
    "clientId",
    "clientSecret",
    "grantType"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-iam-identity-center-create-token-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.