POST
/
api
/
v1
/
auth
/
login
Authenticates user.
curl --request POST \
  --url https://sdp.suki-stage.com/api/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '{
  "partner_id": "your-partner-id",
  "partner_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
  "provider_id": "provider-123"
}'
{
  "suki_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}
Use this endpoint to authenticate a provider. On a successful request, this endpoint returns a suki_token that you must use to authorize all subsequent API calls for that user. The suki_token is a JWT that is valid for one hour. It contains the user, organization, and partner information needed to access Suki services.
If you are using the JWT Assertion authentication method, the response may also include an additional jwt_bearer field.

Body

application/json

AuthenticationRequest

Request body for the /auth/login endpoint

Response

200
application/json

Success Response

Response received after authenticating user