Get a JWT token

POST
/token

Get a JWT token for use with the Pier API by passing in a valid client_id/secret in the body

Request

This endpoint expects an object.
client_idstringRequired

Your Pier API client ID

secretstringRequired

Your Pier API client secret

Response

This endpoint returns an object.
tokenstring

A JWT token to use with the Pier API (24h expiration)

Errors