Direct SME Portal

Generate business token

Generate a JWT token scoped to a specific business for SDK access. The business must belong to the authenticated user's partner.

post/portal/businesses/{business_id}/token/

Request

  • Base URL
    https://docs.thredfi.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in cookie sessionid
    • or HTTP basic
    • or HTTP bearer
    • or HTTP bearer

Path parameters

business_idstring required

UUID of the business to generate token for

Request body

access_tokenstring required

JWT access token for SDK

expires_ininteger required

Token expiry in seconds

token_typestring required

Token type (Bearer)

business_idstring uuid required

Business ID the token is scoped to

Response

access_tokenstring required

JWT access token for SDK

expires_ininteger required

Token expiry in seconds

token_typestring required

Token type (Bearer)

business_idstring uuid required

Business ID the token is scoped to

Changes

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