RESTful API로 캠페인 생성·수신자 관리·발송 추적을 자사 시스템에 직접 통합할 수 있습니다.
포털 설정 > API 키 에서 키를 발급한 후, Authorization 헤더에 Bearer 토큰으로 사용하세요.
Base URL
https://api.glocalpost.com/api/v1인증 (Authentication)
모든 API 요청에 발급된 API 키를 Bearer 토큰으로 첨부합니다.
curl -X GET "https://api.glocalpost.com/api/v1/campaigns" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"
한도 초과 시 HTTP 429 Too Many Requests 를 반환합니다.
| 플랜 | 호출 한도 | 월간 발송 한도 |
|---|---|---|
| Free | 60 rpm | 1,000 / mo |
| Starter | 300 rpm | 10,000 / mo |
| Pro | 1,000 rpm | 100,000 / mo |
| Enterprise | 5,000 rpm | Unlimited |
| 메서드 | 엔드포인트 |
|---|---|
| GET | /campaigns |
| POST | /campaigns |
| POST | /campaigns/{id}/submit |
| GET | /recipients/lists |
| POST | /recipients/lists |
| POST | /recipients/lists/{id}/upload-csv |
| GET | /tracking/shipments |
| GET | /tracking/shipments/{id} |
| GET | /countries |
캠페인·발송 상태 변경 시 등록한 URL로 POST 요청을 전송합니다. 포털 설정에서 Webhook URL을 등록하세요.
// POST YOUR_WEBHOOK_URL
{
"event": "shipment.delivered",
"timestamp": "2026-05-07T10:30:00Z",
"data": {
"shipmentId": "550e8400-...",
"recipientId": "...",
"deliveredAt": "2026-05-07T10:28:00Z"
}
}| 이벤트 |
|---|
| campaign.submitted |
| campaign.completed |
| campaign.cancelled |
| shipment.dispatched |
| shipment.delivered |
| shipment.returned |
| translation.ready |
포털 설정 > API 키 에서 키를 발급한 후, Authorization 헤더에 Bearer 토큰으로 사용하세요.