POST
/
v1
/
oauth2
/
token
curl --request POST \
  --url https://api.zebedee.io/v1/oauth2/token \
  --header 'Content-Type: application/json' \
  --data '{
  "client_id": "<string>",
  "client_secret": "<string>",
  "grant_type": "<string>",
  "redirect_uri": "<string>",
  "code": "<string>",
  "code_verifier": "<string>"
}'

Description

After accessing the ZBD login portal URL and successfully authenticating, the user will be redirected back to your application with state and code query parameters included. These two properties allow you to hit the token endpoint, and get the user’s access token.

Once you have the code returned from the previous authorization endpoint, you must now make a POST request to get the token from this endpoint.

Configuration

Header Parameters

Content-Type
string

Content Type

Body

client_id
string
required
client_secret
string
required
grant_type
string
required
redirect_uri
string
required
code
string
required
code_verifier
string
required