Skip to main content
Organizations are the top-level container for every ThunderPhone resource — agents, phone numbers, calls, billing, and keys. An API key is bound to exactly one organization; the endpoints on this page are the handful that let you enumerate or manage the org resource itself. The dashboard lets a single user belong to multiple organizations and switch between them. The API treats your key’s bound org as implicit on every other page in this reference — you do not need an org id in URLs for resource operations. See Authentication for the full story.

Endpoints

Organization object


List organizations

Returns every organization the caller is a member of.
Response is a JSON array of Organization objects.
An API key is bound to exactly one organization, so this list almost always has a single entry when authenticated with sk_live_. The dashboard flow uses personal tokens and can return multiple orgs.

Create organization

Returns 201 Created with the new Organization object. The creator becomes the owner member automatically.

Get organization

Returns 200 OK with an Organization object, or 404 if the caller is not a member of the requested org.

Update organization

Returns 200 OK with the updated Organization object.

Delete organization

Destructive and irreversible. Only allowed for the owner. You must remove all other members first. A user cannot delete their only organization.
Returns 204 No Content.

Legacy single-URL webhook

This is the original webhook config: one URL receives every event type (call.incoming, call.complete, …). It is still supported for existing integrations. New integrations should use the Webhook Endpoints system (multiple URLs, per-endpoint secrets, event filtering) — see Webhooks overview.

Get webhook config

Returns 200 OK with the webhook row, or 404 if the org has not configured a webhook yet.

Set webhook URL

The secret is generated server-side and rotated only when you explicitly call PUT again. Store it in your secret manager and use it to verify the X-ThunderPhone-Signature HMAC on inbound payloads — see Webhooks overview.

Members

Manage roles and memberships within an organization.

Invites

Invite users to join your organization.

Webhooks

Subscribe to real-time events delivered as HTTP POST requests.

API Keys

Rotate the sk_live_ keys your integrations use.