Describe the current credential
Returns what the presented credential is bound to — the organization and its name, the namespace and its name and mode where bound, the scopes it carries, the credential class, and for a connected-app token the app and the consenting user.
Requires no scope beyond authentication and reveals nothing about tenancies the credential cannot reach. Integrations call it once after connecting to label the connection (<org> / <namespace> (<mode>)).
Responses
- application/json
- application/json
Request Example for get/v1/auth/whoami
curl https://api.signstack.ai/v1/auth/whoami \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"credential": "connected_app",
"orgId": "org_01jv8m7qfj6xj9gkz7a4s2h8e",
"orgName": "Acme Legal",
"namespaceKey": "sales-ops",
"namespaceName": "Sales Ops",
"mode": "live",
"scopeLevel": "namespace",
"scopes": [
"workflow:read",
"workflow:create",
"resource:read"
],
"app": {
"clientId": "oc_01jv8m7qfj6xj9gkz7a4s2h8e",
"name": "Claude",
"grantId": "og_01jv8m7qfj6xj9gkz7a4s2h8e"
},
"user": {
"uid": "a1b2c3",
"email": "alex@acme.example",
"name": "Alex Rivera"
}
}