Auth

Get a JWT token

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

post/token

Request

  • Base URL
    https://production.pier-finance.com/api
  • Auth
    none declared

Request body

client_idstring required

Your Pier API client ID

secretstring required

Your Pier API client secret

Example request

{
  "client_id": "1234567890",
  "secret": "1234567890"
}

Response

tokenstring required

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

Example response

{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}

Changes

No recorded changes to this operation across all 1 revision of this API.