POST
/
api
/
v1
/
management
/
action-classes
curl --request POST \
  --url http:///%7B{baseurl}%7D/api/v1/management/action-classes \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '{
  "description": "From API Docs (optional)",
  "environmentId": "{{environmentId}}",
  "name": "My Action from Postman",
  "noCodeConfig": {
    "innerHtml": {
      "value": "sign-up"
    },
    "type": "innerHtml"
  },
  "type": "code"
}'
{
  "data": {
    "createdAt": "2024-04-23T08:58:47.507Z",
    "description": null,
    "environmentId": "clurwouax000azffxt7n5unn3",
    "id": "clvc5m82c000z494jkvnw1gh0",
    "name": "My Action from Postman",
    "noCodeConfig": null,
    "type": "code",
    "updatedAt": "2024-04-23T08:58:47.507Z"
  }
}

Headers

x-api-key
string
required

Body

application/json · object

Response

200
application/json
OK

The response is of type object.

Was this page helpful?