curl --request POST \
--url https://api.getenso.ai/events/config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "api_call",
"description": "<string>",
"fields": [
{}
]
}
'{
"status": "success",
"message": "Success",
"data": {}
}Define event configuration for a new event type.
curl --request POST \
--url https://api.getenso.ai/events/config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "api_call",
"description": "<string>",
"fields": [
{}
]
}
'{
"status": "success",
"message": "Success",
"data": {}
}JWT bearer token obtained from POST /auth/system-login using your client credentials.