Login and receive tokens

Authenticate as a partner and receive access and refresh tokens.

POST/v1/auth/login
Try it out is not available for this endpoint — authentication endpoints can't be tested through the docs for security reasons.

Request Body

emailstringRequired
Partner email address
passwordstringRequired
Partner password
Example: ••••••••

Responses

200OK
successbooleanAlways true on success
data.accessTokenstringJWT access token (15 min expiry)
data.refreshTokenstringRefresh token (30 day expiry)
data.expiresInnumber900 (seconds)
401Unauthorized
errorstringINVALID_CREDENTIALS
messagestringEmail or password incorrect