Create access token

No changes are required for authentication when migrating to API v2. Use POST /v1/oauth2/token to create an access token valid for 1 hour. API v1 and API v2 use this path. Send the token as Authorization: Bearer <access_token>.

Body Params
string
required
Defaults to client_credentials

Set to client_credentials.

string
required

Your unique identifier from your Fourthline API credentials.

string
required

Your unique password from your Fourthline API credentials.

Headers
string
Defaults to no-cache

To have the response validated by the origin server instead of reusing stored content, we strongly recommend including this parameter and setting it to no-cache.

string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json