Skip to main content
POST
/
v1
/
projects
/
{projectID}
/
event-types
/
import
Import event types from OpenAPI spec
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

projectID
string
required

Project ID

Body

application/json

OpenAPI specification

spec
string

Response

OK

message
string
status
boolean
data
object[]