Issue a short-lived user token for the mobile SDKs
The partner backend calls this and passes the token to the app. The app never holds partner credentials. The token is bound to one user, lasts 15 minutes, and carries only the SDK scopes requested.
Path Parameters
- Type:user
Id required
Body
application/json
- Type: array of "interviews" or "connections"enumscopes
Responses
- application/json
Request Example for post/users/{userId} /sdk-tokens
curl https://api.eno.health/users/usr_01JA2Y7Q3K8V5T0N4R6M2P9XWE/sdk-tokens \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"scopes": [
"interviews",
"connections"
]
}'
{
"token": "string",
"userId": "usr_01JA2Y7Q3K8V5T0N4R6M2P9XWE",
"expiresAt": "2026-11-16T17:01:06.654Z"
}