API Documentation
- Authentication
- Endpoints
- Keys
- Submissions
- Errors
Endpoints
Create a endpoint
POST
/
v1
/
endpoint
Copy
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"
}'
Copy
{
"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
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
.
Was this page helpful?
Copy
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"
}'
Copy
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.