Base URL
All API requests should be made to:SDKs
Official SDKs handle authentication, pagination, and error handling automatically.Authentication
The Posthook API uses API keys to authenticate requests.Response Codes
Posthook uses standard HTTP response codes to indicate the success or failure of an API request.| Code | Meaning |
|---|---|
200 | OK - Request succeeded. |
201 | Created - The resource was successfully created. |
400 | Bad Request - Invalid request (e.g., missing required fields). |
401 | Unauthorized - The X-API-Key header is missing or invalid. |
404 | Not Found - The requested resource (e.g. Hook ID) does not exist. |
413 | Payload Too Large - The request body exceeds the maximum size. |
429 | Too Many Requests - You have exceeded your rate limits. |
500 | Internal Server Error - Something went wrong on our end. |