/api/admin. Unlike the /api/public endpoints, which use a write key, Admin API endpoints require an Admin API key.
With it you can work with your segments, journeys, message templates, user properties, users, events, and broadcasts. See the API Reference tab for every endpoint.
Create an Admin API key
Create keys on the settings page, under Admin API Key. Once an Admin API key is created, its value can’t be read again. Make sure to copy it and store it securely, for example in a secrets manager. If you lose it, delete the key and create a new one.Find your workspace ID
Every Admin API request also has to say which workspace it is for. Your workspace ID is shown under Workspace Metadata on the settings page.Make a request
Send the Admin API key in theAuthorization header, and include the workspace ID as workspaceId. Each endpoint’s reference page shows where it goes: in the query string for reads, and in the JSON body for writes.
401. A missing or malformed workspace ID returns 400.
Related
- Settings and Billing: where keys and workspace details live.
- Tranthor’s REST API: send data with a write key.
- AI Agents: operate Tranthor in natural language from the dashboard.

