POST
/
v1
/
endpoint
curl --request POST \
  --url https://api.formizee.com/v1/endpoint \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "slug": "my-endpoint",
  "name": "My Endpoint",
  "isEnabled": true,
  "emailNotifications": false,
  "redirectUrl": "https://example.com/thanks-you",
  "targetEmails": [
    "[email protected]",
    "[email protected]"
  ],
  "icon": "bolt",
  "color": "pink"
}'
{
  "id": "enp_4VjHrJoEwAFC6itz8oUBW9NW2bia",
  "workspaceId": "ws_4VjHrJoEwAFC6itz8oUBW9NW2bia",
  "slug": "my-endpoint",
  "name": "My Endpoint",
  "isEnabled": true,
  "emailNotifications": false,
  "redirectUrl": "https://example.com/thanks-you",
  "targetEmails": [
    "[email protected]",
    "[email protected]"
  ],
  "icon": "bolt",
  "color": "pink"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

Create a endpoint

The response is of type object.