cURL
curl --request POST \ --url https://dashboard.getconvoy.io/api/v1/projects/{projectID}/event-types \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "category": "<string>", "description": "<string>", "name": "<string>" }'
{ "message": "<string>", "status": true, "data": { "event_type": { "category": "<string>", "deprecated_at": "<string>", "description": "<string>", "id": "<string>", "name": "<string>" } } }
This endpoint creates an event type
Project ID
Event Type Details
Category is a product-specific grouping for the event type
Description is used to describe what the event type does
Name is the event type name. E.g., invoice.created
Created
Show child attributes
Was this page helpful?