Skip to main content

Endpoint

Overview

This endpoint allows you to create a new event record tied to a project.
Optionally, you can trigger a Discord webhook notification at the same time.

Authentication

This endpoint requires an API key. You can retrieve an API key from your dashboard. Include it in the X-API-KEY header:
For more details, see the Authentication Guide.

Request Body

Send a JSON payload with the following structure:

Responses

βœ… 200 OK

Event created successfully:

⚠️ 400 Bad Request

If required fields are missing or the Discord URL is invalid:

πŸ”’ 401 Unauthorized

If authentication fails:

🚫 403 Forbidden

If the project does not belong to the authenticated user:

πŸ’₯ 500 Internal Server Error

For unexpected server errors:

Examples

CURL

Python (requests)

JavaScript (fetch)

Notes

  • This endpoint enforces ownership checks, meaning you can only create events for projects tied to your API key.
  • Always ensure your discordWebhook.url is a valid HTTPS Discord webhook URL to avoid SSRF rejection.

Need Further Assistance?

If you have any questions or encounter issues, please don’t hesitate to reach out to our support team.