Organizations
Endpoints for inspecting the organization context an API key has access to. API keys are organization-scoped, so this is most useful for confirming which organization a key belongs to.
Beta: these endpoints are in beta and may change based on customer feedback.
Returns the organizations the calling identity has access to. With an API key, this is the single organization the key is scoped to.
Request
bash
curl "https://prod.bluebot.com/management/v1/organizations/mine" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "bluebot-api-key: YOUR_API_KEY"Set an API key in the header to try this request.
Example response
json
[
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "Acme Water Co.",
"createdAt": "2024-01-15T18:22:11.000Z"
}
]