API Reference
API Reference
Find the endpoints, credentials, and code samples you need to connect your applications to CommPeak products, and make your first request in a few minutes.
1curl --location "https://api.commpeak.com/textpeak/streams/simple_send"
2--header "Authorization: <YOUR_AUTH_TOKEN>" \
3--header "Content-Type: application/json" \
4--data {
5"messages": [ {
6"sender": "<SENDER_ID>",
7"recipient_phone": "<TARGET_PHONE>",
8"message_content": "hello world"
9} ] }
Request Preview
POST
https://api.commpeak.com/textpeak/streams/simple_send
Dialer APIManage campaigns, leads, calls, CDRs, users, groups, DNC lists, and caller IDs in CommPeak Dialer.ExploreTextPeak APIManage streams, senders, domains, templates, webhooks, and message history.ExplorePBX APIManage users, calls, CDRs, devices, logs, and caller IDs in Cloud PBX.ExplorePortal APIManage balances, rates, SIP accounts, call records, caller IDs, SMS, invoices, users, DID numbers, and voicemails.ExplorePBX Stats APIDeprecated. Monitor ongoing calls, manage agents, and retrieve call statistics.ExploreLookup APIRun HLR and validation lookups on one number or many.ExploreTextPeak Streams APISend SMS, WhatsApp, and template messages, and run one-time password checks.Explore
Start with a Tested API Recipe
Follow step-by-step walkthroughs with cURL, Node.js, Python, and PHP code, each tested against the live API.