Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Sends WhatsApp messages and manages templates, WABAs, and phone numbers through the Telnyx WhatsApp Business API using curl.
52% 96%+43 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 12 of 23 without it.
Write a curl request to fetch all WhatsApp Business Accounts linked to our Telnyx API token, setting page size to 10.
Request issues GET to https://api.telnyx.com/v2/whatsapp/business_accounts
3 of 3 safety checks passed
# curl is pre-installed on macOS, Linux, and Windows 10+
export TELNYX_API_KEY="YOUR_API_KEY_HERE"
All examples below use $TELNYX_API_KEY for authentication.
All API calls can fail with network errors, rate limits (429), validation errors (422), or authentication errors (401). Always handle errors in production code:
curl \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "+19452940762",
"to": "+18005551234",
"type": "WHATSAPP",
"whatsapp_message": {
"type": "text",
"text": { "body": "Hello from Telnyx!" }
}
}' \
"https://api.telnyx.com/v2/messages/whatsapp"
Common error codes: 401 invalid API key, 403 insufficient permissions,
404 resource not found, 422 validation error (check field formats),
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.