The fastest way to add Poku to your voice AI agent is to configure it as a custom function or tool call on your platform of choice. This walkthrough uses email capture as the example — one of the most common use cases, since emails are hard to capture reliably over voice. If you’re using Retell AI or Vapi, see the platform-specific guides: Retell AI · VapiDocumentation Index
Fetch the complete documentation index at: https://docs.pokulabs.com/llms.txt
Use this file to discover all available pages before exploring further.
Create a new custom function or tool
In your voice AI platform, navigate to the tools or functions section and create a new custom function.
Configure the HTTP call
Set the tool name, description, method, URL, and authorization header:
| Field | Value |
|---|---|
| Name | send_sms |
| Description | Use this tool to text the customer |
| Method | POST |
| URL | https://api.pokulabs.com/messages/sms |
| Authorization | Bearer <your-poku-api-key> |
Define the input parameters
Expose the following parameters so your agent can populate them at call time:
| Parameter | Type | Required | Description |
|---|---|---|---|
message | string | Yes | Could you reply with your email address here? |
to | string | Yes | The recipient’s phone number in E.164 format. This is typically a dynamic variable depending on the platform — e.g. {user_number} or {customer_phone_number}. For testing, hardcode your own number. |
waitTime | number | No | Seconds to hold open waiting for a reply. Set to 60 for email capture. |
Example agent prompt
Explore more
Messages
Send a message and wait for a reply.
Forms
Send a structured form and receive all fields back.
Channel Cards
Expose specific channels to your agent at runtime.
Follow Up Time
Capture replies that arrive after the call ends.
