Create Authorization
POST
https://api.withpersona.com/api/v1/oauth/authorize
Authorizes another Organization to access your Inquiry, Verifications, or other Persona resources.
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.
client-idstringRequired
Organization (org_
) to authorize
response-typestringRequired
Must be set to 'code'
scopestringRequired
Space-separated list of ‘permission:object’ combinations (i.e. inquiry.read:inq_uX7kRTiBxsJ1sZqPLAsjdP9j verification.read:ver_ynYuWdrjwwjiHJ2rgHfSoHeT
Response
Created
codestring or null
Authorization Code that is only usable by the Organization specified by the client-id
expires-ininteger or nullDefaults to
0
Number of seconds until the authorization code expires.