curl --request POST \
--url https://us.getconvoy.cloud/api/v1/projects/{projectID}/event-types/import \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"spec": "<string>"
}
'{
"message": "<string>",
"status": true,
"data": [
{
"category": "<string>",
"deprecated_at": "<string>",
"description": "<string>",
"json_schema": [
123
],
"name": "<string>",
"uid": "<string>"
}
]
}This endpoint imports event types from an OpenAPI specification
curl --request POST \
--url https://us.getconvoy.cloud/api/v1/projects/{projectID}/event-types/import \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"spec": "<string>"
}
'{
"message": "<string>",
"status": true,
"data": [
{
"category": "<string>",
"deprecated_at": "<string>",
"description": "<string>",
"json_schema": [
123
],
"name": "<string>",
"uid": "<string>"
}
]
}Was this page helpful?