REST API reference

API key

Check which key you’re using, what it can do and which workspace it belongs to.

Works with any valid key — handy as a health check and to show the connected workspace in your integration.

Retrieve the current key

GET /v1 /me any scope

The key’s name, scopes and workspace.

curl https://api.rabbitblaze.com/v1/me \  -H "Authorization: Bearer $RABBITBLAZE_API_KEY"
const res = await fetch("https://api.rabbitblaze.com/v1/me", {  headers: {    Authorization: `Bearer ${process.env.RABBITBLAZE_API_KEY}`,  },})const data = await res.json()
import osimport requests res = requests.get(    "https://api.rabbitblaze.com/v1/me",    headers={"Authorization": f"Bearer {os.environ['RABBITBLAZE_API_KEY']}"},)res.raise_for_status()data = res.json()
Response · 200 OK
{  "object": "api_key",  "id": "0199c4e1-0b52-7d1e-a3f4-5b6c7d8e9f01",  "name": "CRM sync",  "scopes": [    "contacts:read",    "contacts:write",    "conversations:read",    "events:write"  ],  "workspace": {    "id": "0199a8f2-1c3d-7e4f-8a5b-6c7d8e9f0a1b",    "name": "Acme Inc",    "appId": "acme0001",    "timezone": "Europe/Berlin"  }}