Get Custom Event Schema
curl --request GET \
--url https://{cluster}.voucherify.io/management/v1/projects/{projectId}/custom-event-schemas/{customEventSchemaId} \
--header 'X-Management-Id: <api-key>' \
--header 'X-Management-Token: <api-key>'{
"id": "ms_f1r5Tm3ta6a4a5ch3ma",
"related_object": "order",
"properties": {
"published": {
"type": "boolean",
"optional": true
}
},
"created_at": "2024-04-29T11:25:44.458Z",
"object": "custom-event-schema"
}{
"code": 401,
"message": "Unauthorized",
"key": "unauthorized"
}{
"code": 402,
"message": "Payment required",
"details": "Your current plan does not include a feature required to perform this operation.",
"key": "missing_required_feature"
}{
"code": 404,
"message": "Resource not found",
"details": "Cannot find project with id proj_2F3txY7"
}Get Custom Event Schema
Retrieves a custom event schema.
Custom Event Documentation
Read Custom Events article to learn how custom events work in Voucherify.
Read also the details about the Track Custom Event endpoint and the Custom Event Object.
GET
/
management
/
v1
/
projects
/
{projectId}
/
custom-event-schemas
/
{customEventSchemaId}
Get Custom Event Schema
curl --request GET \
--url https://{cluster}.voucherify.io/management/v1/projects/{projectId}/custom-event-schemas/{customEventSchemaId} \
--header 'X-Management-Id: <api-key>' \
--header 'X-Management-Token: <api-key>'{
"id": "ms_f1r5Tm3ta6a4a5ch3ma",
"related_object": "order",
"properties": {
"published": {
"type": "boolean",
"optional": true
}
},
"created_at": "2024-04-29T11:25:44.458Z",
"object": "custom-event-schema"
}{
"code": 401,
"message": "Unauthorized",
"key": "unauthorized"
}{
"code": 402,
"message": "Payment required",
"details": "Your current plan does not include a feature required to perform this operation.",
"key": "missing_required_feature"
}{
"code": 404,
"message": "Resource not found",
"details": "Cannot find project with id proj_2F3txY7"
}Path Parameters
Response
Returns the custom event schema.
Response body schema for GET /management/v1/projects/{projectId}/custom-event-schema/{customEventSchemaId}.

