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"
}
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"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Create a endpoint
The response is of type object
.
Was this page helpful?