PUT
/
v1
/
submission
/
{endpointId}
/
{id}
curl --request PUT \
  --url https://api.formizee.com/v1/submission/{endpointId}/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "isRead": false,
  "isSpam": false
}'
{
  "id": "sub_4VjHrJoEwAFC6itz8oUBW9NW2bia",
  "endpointId": "enp_4VjHrJoEwAFC6itz8oUBW9NW2bia",
  "location": "Spain",
  "isSpam": false,
  "isRead": false
}

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 submission

Example:

"sub_4VjHrJoEwAFC6itz8oUBW9NW2bia"

endpointId
string
required

The id of the endpoint

Example:

"enp_4VjHrJoEwAFC6itz8oUBW9NW2bia"

Body

application/json
isRead
boolean

Shows if the submission is already readed

Example:

false

isSpam
boolean

Shows if the submission is marked as spam

Example:

false

Response

200
application/json
Update a submission
id
string
required

The id of the submission

Example:

"sub_4VjHrJoEwAFC6itz8oUBW9NW2bia"

endpointId
string
required

The id of the endpoint

Example:

"enp_4VjHrJoEwAFC6itz8oUBW9NW2bia"

location
string
required

The origin location of the submission

Example:

"Spain"

isSpam
boolean
required

Shows if the submission is marked as spam

Example:

false

isRead
boolean
required

Shows if the submission is already readed

Example:

false