SquareBox External API Documentation
Table of Contents
Overview
Getting Started
1. Generate API Key
2. Get Your Line ID
Authentication
Base URL
API Endpoints
Send Text Message
Send Template Message
Send Media Message
Get Customer Info
Get Credit Balance
Estimate Message Cost
Get Available Templates
Bulk Send Messages
Webhooks
Configure Webhook URL
Get Webhook Configuration
Test Webhook Configuration
Webhook Events
Message Status Updated
Cost Deducted
Webhook Security
Cost Management
How Costs Work
Cost Structure
Rate Limiting
Examples
cURL Examples
Send Text Message
Check Credit Balance
Estimate Cost
Bulk Send Messages
Configure Webhook
JavaScript Example
Python Example
Error Handling
Error Response Format
Common Error Codes
Code
Description
Solution