# Place Outbound Call Source: https://docs.pokulabs.com/api-reference/calls/place-outbound-call POST /calls Place an outbound AI phone call. By default, the request returns immediately with an `interactionId` while the call continues in the background. Set `waitForCallEnd` to `true` to keep the request open until the call ends and return the call summary. # Send form via Slack Source: https://docs.pokulabs.com/api-reference/forms/send-form-slack POST /forms/slack Send a link to a form via Slack. When the recipient completes and submits the form, the contents are returned as a tool call response. **Prerequisites:** You must either [join the Poku Slack workspace](https://pokulabs.slack.com/join/shared_invite/zt-334pmqhy9-oZN8cMAXLFUdmDCgNZX9rA) or add the Poku bot to your own Slack workspace before using this endpoint. # Send form via SMS Source: https://docs.pokulabs.com/api-reference/forms/send-form-sms POST /forms/sms Send a link to a form via SMS. When the recipient completes and submits the form, the contents are returned as an HTTP response OR via webhook. # Send form via WhatsApp Source: https://docs.pokulabs.com/api-reference/forms/send-form-whatsapp POST /forms/whatsapp Send a link to a form via WhatsApp. When the recipient completes and submits the form, the contents are returned as a tool call response. Send from the Poku WhatsApp account, or use your own WhatsApp number with a Meta-approved template. # Get Interaction Status Source: https://docs.pokulabs.com/api-reference/interactions/get-interaction-status GET /interactions/{interactionId}/status Returns the current status for an interaction. Use this to poll an interaction created by an async request, such as an outbound call placed with `waitForCallEnd` set to `false`. # Send a Slack Source: https://docs.pokulabs.com/api-reference/messages/send-slack POST /messages/slack Send a one-way Slack message to a channel or user, or set a `waitTime` to listen for a reply and capture it in the response. **Prerequisites:** You must either [join the Poku Slack workspace](https://pokulabs.slack.com/join/shared_invite/zt-334pmqhy9-oZN8cMAXLFUdmDCgNZX9rA) or add the Poku bot to your own Slack workspace before using this endpoint. # Send an SMS Source: https://docs.pokulabs.com/api-reference/messages/send-sms POST /messages/sms Send a one-way SMS to a phone number, or set a `waitTime` to listen for a reply and capture it in the response. # Send a WhatsApp Source: https://docs.pokulabs.com/api-reference/messages/send-whatsapp POST /messages/whatsapp Send a one-way WhatsApp message, or set a `waitTime` to listen for a reply and capture it in the response. Send from the Poku WhatsApp account using free-form text, or use your own WhatsApp number with a Meta-approved template. # List available numbers Source: https://docs.pokulabs.com/api-reference/numbers/list-available-numbers GET /numbers/available Browse phone numbers available to reserve. Filter by country or area code. # List reserved numbers Source: https://docs.pokulabs.com/api-reference/numbers/list-reserved-numbers GET /numbers Returns all phone numbers reserved on your account. # Release a number Source: https://docs.pokulabs.com/api-reference/numbers/release-number DELETE /numbers/{reservedNumberId} Releases a reserved phone number from your account. # Reserve a number Source: https://docs.pokulabs.com/api-reference/numbers/reserve-number POST /numbers/reserve Reserve a phone number for your account. Once reserved, it can be used for calling and texting. Use [List available numbers](/api-reference/numbers/list-available-numbers) to find a number first. # Create webhook Source: https://docs.pokulabs.com/api-reference/webhooks/create-webhook POST /webhooks Register a webhook URL to receive Poku events on your reserved number. # Delete webhook Source: https://docs.pokulabs.com/api-reference/webhooks/delete-webhook DELETE /webhooks/{webhookId} Permanently deletes a webhook from your account. # List webhooks Source: https://docs.pokulabs.com/api-reference/webhooks/list-webhooks GET /webhooks Returns all webhooks registered on your account. # Update webhook Source: https://docs.pokulabs.com/api-reference/webhooks/update-webhook PATCH /webhooks/{webhookId} Update the configuration of an existing webhook. # WebSockets Source: https://docs.pokulabs.com/api-reference/websockets Subscribe to real-time Poku events over a WebSocket connection. Use WebSockets when your agent wants to receive Poku events over an open connection instead of exposing an HTTP webhook endpoint. The WebSocket stream emits the same event types as webhooks. You can subscribe to `message.received`, `form.received`, and `call.conversation.ended`. ## Connect Connect to the Poku API WebSocket endpoint: ```bash theme={null} wss://ws.pokulabs.com ``` Authenticate with your Poku API key using a bearer token: ```js theme={null} const ws = new WebSocket("ws://api.pokulabs.com", { headers: { Authorization: "Bearer ", }, }); ``` Some WebSocket clients, especially browser clients, cannot send custom headers. In those cases, pass the API key in the `api_key` query parameter: ```js theme={null} const ws = new WebSocket("wss://api.pokulabs.com?api_key="); ``` If authentication fails, Poku closes the connection with code `4001`. ## Subscribe to events After connecting, send a `subscribe` message with the events you want to receive: ```json theme={null} { "type": "subscribe", "events": ["message.received", "form.received", "call.conversation.ended"] } ``` Poku confirms the active subscriptions: ```json theme={null} { "type": "subscribed", "payload": { "events": ["message.received", "form.received", "call.conversation.ended"] } } ``` ## Event format WebSocket events use the same event names and payload shapes as webhooks. The only difference is the wrapper field: webhooks send `eventType`, while WebSockets send `type`. ```json theme={null} { "type": "message.received", "payload": { "interactionId": "ia_abc123", "medium": "sms", "from": "+14155550199", "to": "+14155550100", "body": "Hey, are you available tomorrow?", "mediaUrls": [] } } ``` See the [Webhook](/poku-skill/webhook) page for the full event payload reference. # Welcome to Poku Source: https://docs.pokulabs.com/index The communication layer for AI agents: voice, SMS, WhatsApp, and Slack in one API. Poku gives your agent a dedicated phone number to place calls and send texts to 60+ countries. We also give your agent the ability to loop in humans via WhatsApp, Slack, collect structured responses through forms, and bring that data back into context — all through a single API call. *** Send your first SMS and place your first call in minutes. Browse the full API for calls, messages, forms, and more. Ask questions and connect with the community. Get in touch with us for setup help. # Bird Source: https://docs.pokulabs.com/integrations/bird Use your Bird-connected WhatsApp numbers with Poku to send outbound messages. Connecting Bird lets your agent send WhatsApp messages from numbers you've already configured in your Bird workspace — no Poku shared number required. *** ## Connect your Bird account Go to [dashboard.pokulabs.com/integrations](https://dashboard.pokulabs.com/integrations). Paste in your **Workspace ID** and **API Key**. * [How to find your Workspace ID](https://docs.bird.com/applications/settings/account/organization-settings/how-to-find-a-workspace-id) * [How to find your API Key](https://docs.bird.com/applications/settings/account/organization-settings/access-keys) Click **Save**. Any WhatsApp numbers connected in your Bird workspace are now available to use with Poku. *** ## Send a WhatsApp message from your Bird number Pass your Bird-connected WhatsApp number as `from` in any WhatsApp request: ```bash theme={null} curl -X POST https://api.pokulabs.com/messages/whatsapp \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "message": "Your appointment is confirmed for tomorrow at 2pm.", "to": "+12155551234", "from": "+19165550100" }' ``` # OpenClaw Source: https://docs.pokulabs.com/integrations/openclaw Install the Poku skill for OpenClaw to make calls, send texts, and reserve numbers. Give your OpenClaw agent a phone presence. With the Poku skill installed, OpenClaw can place outbound calls, send SMS messages, and reserve dedicated phone numbers — all from a natural language request. *** ## Use cases "Hey OpenClaw, grab a table at A Mano for 2 tonight at 8pm." OpenClaw calls the restaurant, confirms the booking, and reports back. "Book me a dental cleaning for next week." OpenClaw calls the office, finds an open slot, and confirms the time. "Get a quote from the plumber for the water heater." OpenClaw calls, describes the job, and comes back with the number. "Reserve a dedicated number for my agent." OpenClaw browses available numbers, confirms your pick, and reserves it. *** ## Quick install ```bash theme={null} npx clawhub@latest install poku ``` Then add your API key to `~/.openclaw/openclaw.json`: ```json theme={null} { "skills": { "entries": { "poku": { "enabled": true, "apiKey": "", "env": { "POKU_TRANSFER_NUMBER": "" } } } } } ``` `POKU_TRANSFER_NUMBER` is optional — set it if you want callers to be able to reach you directly during a call. *** Step-by-step installation, configuration, verification, and custom skill setup. # Retell AI Source: https://docs.pokulabs.com/integrations/retell Connect Poku's tools to your Retell AI voice agent. Poku Labs is a proud [Retell AI App Partner](https://www.retellai.com/app-partner/poku-labs). You can add Poku's API as a custom function in any Retell agent — giving your voice AI the ability to text customers, capture structured data, loop in a manager, and more. *** ## Use cases Agent sends a text mid-call. Customer replies with their email. Agent reads it back and continues. Agent sends a form link over WhatsApp. Customer fills it out on their phone while still on the call. Agent texts a manager to check transfer availability before handing off — no dead air for the customer. Agent pings a Slack channel for sign-off on a custom price, then relays the answer to the customer. *** ## See it in action