Skip to main content
PUT
/
actions
Import from OpenAPI file
curl --request PUT \
  --url https://api.open.cx/actions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "statusCode": 123,
  "message": "<string>",
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

The OpenAPI (Swagger) file to import actions from.

file
file
required

Response