API Integration
Integrate with PantheonCloud's powerful APIs to seamlessly connect messaging, voice, and verification services into your applications.
Overview
PantheonCloud offers comprehensive RESTful APIs designed for seamless integration with your existing systems and applications. Our APIs follow industry best practices, providing consistent responses, robust error handling, and detailed documentation to ensure a smooth development experience.
RESTful Architecture
Industry-standard RESTful APIs for easy integration across platforms.
Secure Authentication
OAuth 2.0 and API key authentication for secure access to our services.
Webhooks
Real-time event notifications via webhooks for asynchronous workflows.
Frequently Asked Questions
API Examples
Here are some common API endpoints to help you get started with integration:
Send SMS Message
POSThttps://api.bitpanyun.com/v1/messages/sms
Request Body
{
"from": "+14155552671",
"to": "+14155552671",
"text": "Hello from PantheonCloud API!",
"delivery_receipt": true,
"webhook_url": "https://example.com/webhooks/status",
"custom_id": "campaign_123"
}
Response
{
"message_id": "msg_550e8400-e29b-41d4-a716-446655440000",
"from": "+14155552671",
"to": "+14155552671",
"status": "queued",
"created_at": "2023-07-15T10:30:00Z",
"custom_id": "campaign_123"
}
Get Message Status
GEThttps://api.bitpanyun.com/v1/messages/{messageId}
Response
{
"message_id": "msg_550e8400-e29b-41d4-a716-446655440000",
"from": "+14155552671",
"to": "+14155552671",
"text": "Hello from PantheonCloud API!",
"status": "delivered",
"created_at": "2023-07-15T10:30:00Z",
"delivered_at": "2023-07-15T10:30:05Z",
"custom_id": "campaign_123",
"carrier": "AT&T",
"error_code": null,
"error_message": null
}