AuthSpokeAuthSpoke Developers
Identity Runtime Β· API Reference

Runtime SSO

Runtime application and callback endpoints used by SSO flows.

GET/{nonce}/{app_instance_id}

Get nonce app instance id

Get nonce app instance id. The tenant is resolved server-side from the bearer token/session; callers do not pass a tenant subdomain in the API path.

πŸ”’ Bearer JWT required

Path parameters

nonce*nonce identifier.
app_instance_id*app_instance_id identifier.

Responses

200Successful response.
400Invalid request.
401Missing or invalid authentication.
403Forbidden by permission, SKU, or provider-admin policy.
404Resource not found or not in the caller's tenant.

Example request

cURL
curl -X GET "https://api.authspoke.com/{nonce}/{app_instance_id}" \
  -H "Authorization: Bearer $TOKEN"

Example response

JSON
{
  "id": "uuid",
  "status": "OK"
}
GET/app/{app_id}/{app_instance_id}

Get app id app instance id

Get app id app instance id. The tenant is resolved server-side from the bearer token/session; callers do not pass a tenant subdomain in the API path.

πŸ”’ Bearer JWT required

Path parameters

app_id*app_id identifier.
app_instance_id*app_instance_id identifier.

Responses

200Successful response.
400Invalid request.
401Missing or invalid authentication.
403Forbidden by permission, SKU, or provider-admin policy.
404Resource not found or not in the caller's tenant.

Example request

cURL
curl -X GET "https://api.authspoke.com/app/{app_id}/{app_instance_id}" \
  -H "Authorization: Bearer $TOKEN"

Example response

JSON
{
  "id": "uuid",
  "status": "OK"
}
POST/app/{app_id}/{app_instance_id}

Create or run app id app instance id

Create or run app id app instance id. The tenant is resolved server-side from the bearer token/session; callers do not pass a tenant subdomain in the API path.

πŸ”’ Bearer JWT required

Path parameters

app_id*app_id identifier.
app_instance_id*app_instance_id identifier.

Request body

namestringDisplay name or operation name where applicable.
statusstringStatus or lifecycle value where applicable.
reasonstringAudit reason for governed changes.
metadataobjectProvider or business metadata.
configurationobjectConnector, policy, or resource configuration.

Responses

201Successful response.
400Invalid request.
401Missing or invalid authentication.
403Forbidden by permission, SKU, or provider-admin policy.
404Resource not found or not in the caller's tenant.

Example request

cURL
curl -X POST "https://api.authspoke.com/app/{app_id}/{app_instance_id}" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"example","metadata":{}}'

Example response

JSON
{
  "id": "uuid",
  "status": "OK"
}
GET/callback

List callback

List callback. The tenant is resolved server-side from the bearer token/session; callers do not pass a tenant subdomain in the API path.

πŸ”’ Bearer JWT required

Query parameters

pageZero-based page index where supported.
sizePage size where supported.

Responses

200Successful response.
400Invalid request.
401Missing or invalid authentication.
403Forbidden by permission, SKU, or provider-admin policy.
404Resource not found or not in the caller's tenant.

Example request

cURL
curl -X GET "https://api.authspoke.com/callback" \
  -H "Authorization: Bearer $TOKEN"

Example response

JSON
{
  "id": "uuid",
  "status": "OK"
}