List the caller's workspaces
The workspaces the presented credential can act in. For Clerk tokens: all workspaces (Clerk organizations) the authenticated user belongs to. For Monid API keys: exactly the key's bound workspace (an API key can only act in the workspace it was created in). Requires an authenticated user but NOT a selected workspace — use this to discover which workspace to select.
Response
The workspaces the credential can act in — the user's memberships for Clerk tokens, the single bound workspace for API keys
Example response
{
"workspaces": [
{
"workspaceId": "org_2abcDEFghiJKLmnop",
"slug": "acme-inc"
}
]
}Changes
Changed in 3 of the 22 revisions of this API.423
- ●
added the new
IDENTITY_ALREADY_LINKEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_ALREADY_LINKEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_ALREADY_LINKEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_LINK_RATE_LIMITEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_LINK_RATE_LIMITEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_LINK_RATE_LIMITEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_LINK_REQUIRES_SESSIONenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_LINK_REQUIRES_SESSIONenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_LINK_REQUIRES_SESSIONenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_LINK_STATE_INVALIDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_LINK_STATE_INVALIDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_LINK_STATE_INVALIDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_PROVIDER_UNAVAILABLEenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_PROVIDER_UNAVAILABLEenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_PROVIDER_UNAVAILABLEenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_PROVIDER_UNKNOWNenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_PROVIDER_UNKNOWNenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_PROVIDER_UNKNOWNenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_REQUIREDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_REQUIREDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_REQUIREDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_USER_ALREADY_LINKEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_USER_ALREADY_LINKEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_USER_ALREADY_LINKEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_VERIFICATION_FAILEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_VERIFICATION_FAILEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
IDENTITY_VERIFICATION_FAILEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
INSUFFICIENT_SCOPEenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
INSUFFICIENT_SCOPEenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
INSUFFICIENT_SCOPEenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
PROMO_IDENTITY_REDEEMEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
PROMO_IDENTITY_REDEEMEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
PROMO_IDENTITY_REDEEMEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
PROMO_REDEEM_REQUIRES_SESSIONenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
PROMO_REDEEM_REQUIRES_SESSIONenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
PROMO_REDEEM_REQUIRES_SESSIONenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
WALLET_INSUFFICIENT_FUNDSenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
WALLET_INSUFFICIENT_FUNDSenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
WALLET_INSUFFICIENT_FUNDSenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
- ●
added the new
X402_UNBOUNDED_PRICEenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
X402_UNBOUNDED_PRICEenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
X402_UNBOUNDED_PRICEenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○