Create Access Token

Creates an access token using an authorization code.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Key-InflectionenumOptional
Determines casing for the API response
Allowed values:
Idempotency-KeystringOptional
Ensures the request is idempotent
Persona-VersionenumOptionalDefaults to 2023-01-05
Allowed values:

Request

This endpoint expects an object.
codestringRequired
Authorization Code
grant-typestringRequired

Must be set to ‘authorization_code’

Response

Created
access-tokenstring or null
Access Token that can be used wherever an API Key would be used.
expires-ininteger or nullDefaults to 0
Number of seconds until the access token expires.
scopestring or null

Space-separated list of ‘permission:object’ combinations (i.e. inquiry.read:inq_uX7kRTiBxsJ1sZqPLAsjdP9j verification.read:ver_ynYuWdrjwwjiHJ2rgHfSoHeT

token-typestring or null

Errors