Event Types
Create an event type
This endpoint creates an event type
POST
/
v1
/
projects
/
{projectID}
/
event-types
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>"
}
}
}
Authorizations
Path Parameters
Project ID
Body
application/json
Event Type Details
The body is of type object
.
Response
201
application/json
Created
The response is of type object
.
Was this page helpful?
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>"
}
}
}