GET
/
v1
/
endpoint
/
{id}
curl --request GET \
  --url https://api.formizee.com/v1/endpoint/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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.

Path Parameters

id
string
required

The id of the endpoint

Response

200
application/json
Retrieve a endpoint
id
string
required

The id of the endpoint

workspaceId
string
required

The id of the workspace

slug
string
required

The slug of the endpoint

Required string length: 4 - 64
name
string
required

The name of the endpoint

Required string length: 4 - 64
targetEmails
string[]
required
isEnabled
boolean
default:
true

The state of the endpoint. If is false, the endpoint don't receive more submissions

emailNotifications
boolean
default:
true

The state of the email notifications. If is true, the endpoint will send a notification for each submission created

redirectUrl
string
default:
https://formizee.com/thanks-you

The redirect url of the endpoint. When a user send a submission through a form, will be redirected to this url.

icon
enum<string>
default:
file

The icon of the endpoint

Available options:
file,
file-chart,
start,
bookmark,
heart,
flag,
bolt,
bell,
lightbulb,
credit-card,
stack,
cube,
database,
server,
inbox,
calendar,
mail,
checkcircle,
book,
chat,
user-group,
console,
tools,
grid,
moon,
sun,
cloud,
cart,
gift,
music,
beaker,
video,
code,
maps,
face-smile,
face-frown,
paint,
bug,
school,
rocket
color
enum<string>
default:
gray

The color the endpoint icon

Available options:
gray,
amber,
red,
lime,
teal,
cyan,
indigo,
violet,
pink,
white