Workspace
Verify the caller and workspace
GET
Read the workspace, actor, scopes, and capabilities associated with this credential. Requires a workspace API key.
bearerAuthheader
AuthorizationBearer <token>A workspace API key.
Successful response.
application/json- response
workspace*actor*scopes*array<>person*booleanroutinesAvailable?booleanagentAvailable?booleancurl -X GET 'https://retainer.tamloot.cc/v1/me' \ -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY'Example Response
{ "workspace": { "id": "d2c0648c-2994-4f16-bdf1-a0136be6037d", "name": "Acme", "slug": "acme" }, "actor": { "type": "agent", "id": "inbox", "name": "Inbox agent" }, "scopes": [ "read", "write" ], "person": false}