Skip to main content
PUT
/
actions
/
import
Import actions from OpenAPI spec
curl --request PUT \
  --url https://api.open.cx/actions/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "file": "<string>"
}
'
{
  "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

application/json
file
file
required

The file to upload. 5MB max.

Response

Default Response