Projects
LineItems
Pricing & Feasibility
Models
Events
Models
Invoicing
Reconciliation
Attributes
Categories
Countries & Languages
Supplier Sources
Models
Powered by Stoplight
post

/token/password

To obtain an access token use the below endpoint. There is no need to decode the JWT in your client application. You can treat it as an opaque token and subsequently pass it to each API endpoint.

Request Body

1 Example
Schema
object
clientId
string

Your app id. Provided to you during account setup

1 validation + required
password
string

user’s password. Provided to you during account setup

required
username
string

user’s login name. Provided to you during account setup

required

Responses

1 Example
Schema
object
accessToken
string

Access token that should be passed in API calls

expiresIn
integer

Access token expires in this many seconds

refreshExpiresIn
integer

Refresh token that can be used to obtain a new access token before the access token expires

refreshToken
string

Refresh token expires in this many seconds

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.