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}' \

Errors

Our API uses conventional HTTP status codes to indicate the success or failure of a request.

{
    "errors": [
        {
            "title": "API \u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3002",
            "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
私のチーム
チームメンバー
チームメンバー
アカウントログ