SDKs and libraries
Every feature is a plain HTTPS request, so the HTTP client you already use is all you need.
Send a text from your language
The same request in each tab. The API key pair goes in the x-key and x-secret headers.
curl -X POST https://api-v2.dropcowboy.com/sms \
-H "x-key: $DC_KEY" -H "x-secret: $DC_SECRET" \
-H "Content-Type: application/json" \
-d '{
"to": "+13125550142",
"phone_line_id": "e2b6f9a3-5c1d-4e8b-a4f7-9c3e1b5d7a28",
"body": "Your order is ready for pickup. Reply STOP to opt out."
}'const res = await fetch('https://api-v2.dropcowboy.com/sms', {
method: 'POST',
headers: {
'x-key': process.env.DC_KEY,
'x-secret': process.env.DC_SECRET,
'Content-Type': 'application/json'
},
body: JSON.stringify({
to: '+13125550142',
phone_line_id: 'e2b6f9a3-5c1d-4e8b-a4f7-9c3e1b5d7a28',
body: 'Your order is ready for pickup. Reply STOP to opt out.'
})
});
// 202 means accepted. The result arrives on the contact.sms.status webhook.
console.log(res.status, await res.json());import os
import requests
res = requests.post(
"https://api-v2.dropcowboy.com/sms",
headers={"x-key": os.environ["DC_KEY"], "x-secret": os.environ["DC_SECRET"]},
json={
"to": "+13125550142",
"phone_line_id": "e2b6f9a3-5c1d-4e8b-a4f7-9c3e1b5d7a28",
"body": "Your order is ready for pickup. Reply STOP to opt out.",
},
timeout=30,
)
# 202 means accepted. The result arrives on the contact.sms.status webhook.
print(res.status_code, res.json())Ways to integrate
REST API
Messaging, email, campaigns, contacts, voice and AI agents over HTTPS on https://api-v2.dropcowboy.com.
Building Blocks
Ready-made dialer, inbox, contacts and texting registration UI you load with one script tag.
MCP for AI tools
Let Cursor, VS Code, Claude and other MCP clients work with your account.
Webhooks
Signed events for every send result, reply and agent call.
Authentication
API key pairs for most integrations, OAuth client credentials for server-to-server apps.
Examples on GitHub
Working ringless voicemail and webhook code in Node.js, Python and C#, plus a starter CRM.
OpenAPI spec
The machine-readable contract for every route. Generate a client in the language you use.
Postman collection
Try every route from Postman, with an environment for your API key pair.
Changelog
What changed in the API and these docs, and how the API is versioned.