เอกสาร API
Learn how to connect and integrate with our API.
การรับรองความถูกต้อง
All the API endpoints require an API key sent by the Bearer Authentication method.
Authorization: Bearer {api_key}
curl --request GET \
--url 'https://popupke.com/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://popupke.com/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
Errors
Our API uses conventional HTTP status codes to indicate the success or failure of a request.
{
"errors": [
{
"title": "\u0e04\u0e38\u0e13\u0e44\u0e21\u0e48\u0e21\u0e35\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07 API",
"status": 401
}
]
}
200 Request completed successfully
400 Bad request - Required parameters are missing or invalid
401 Unauthorized - API key is missing or invalid
404 The requested resource was not found
429 Too many requests - Rate limit exceeded
500 Internal server error - this means there is a problem on our end
All API endpoint results work with the UTC timezone unless specified otherwise.
ผู้ใช้
สถิติ
แคมเปญ
การแจ้งเตือนแคมเปญ
Notification handlers
ทีมของฉัน
สมาชิกในทีม
สมาชิกทีม
บันทึกบัญชี