Login
Authenticate healthcare provider and obtain access token for API usage
suki_token/sdp_suki_token) that you must use to authorize all subsequent API calls for that user.
The suki_token is a that is valid for one hour. It contains the user, organization, and information needed to access Suki services.
jwt_bearer field.Code examples
- Python
- TypeScript
Body
Partner credentials from onboarding. Bearer partners must also include provider_id.
Unique identifier for the partner. This will be shared securely by Suki to the partner through a separate partner registration process.
"your-partner-id"
JWT token issued by trusted authorization server. The token must include Provider Email.
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
Optional - Unique identifier for the provider. This is required for Bearer type partners only and will be ignored for other partner types. This must match a pre-defined expression.
"provider-123"
Response
Request succeeded.
Suki access token returned after successful Login.
JWT access token for the authenticated provider. Pass this value as sdp_suki_token on subsequent requests. Expires after one hour.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"