You’ll need a ThunderPhone account.
Sign up is free and takes under a minute.
Step 1: Get an API key
Log in
Open app.thunderphone.com.
sk_live_YOUR_API_KEY with the value you
just copied. The key identifies your organization automatically, so
you never need to put an org id in URLs.
Step 2: Create an agent
An agent defines how the AI handles conversations — prompt, voice, product tier, tools, and widget eligibility.Step 3: Provision a phone number
This call asks ThunderPhone’s demo pool for a number and assigns your new agent as the inbound handler. (To bring your own number from a VoIP provider, see VoIP connections instead.)status="provisioning" and transitions to
active within a few seconds; by the time you hang up your browser the
number is ready to take calls.
Step 4 (optional): Set up a webhook
For real-time events (dynamic call routing, post-call processing) add a webhook endpoint. Subscribe only to the events you need.secret — copy it to your secret
manager. Use that secret to verify the X-ThunderPhone-Signature
header on incoming requests (see
Webhooks overview).
Step 5: Test your agent
Call the number you just provisioned. The agent picks up, introduces itself, and follows your prompt. Inspect the call after it ends:Next steps
Add function tools
Let your agent call your APIs during a conversation.
Place outbound calls
Trigger calls from your own code.
Handle webhooks
React to call events in real time.
Full API reference
Every public endpoint, documented.