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

endpointId
string
required

The id of the endpoint

Body

application/json
isRead
boolean

Shows if the submission is already readed

isSpam
boolean

Shows if the submission is marked as spam

Response

200
application/json
Update a submission
id
string
required

The id of the submission

endpointId
string
required

The id of the endpoint

location
string
required

The origin location of the submission

isSpam
boolean
required

Shows if the submission is marked as spam

isRead
boolean
required

Shows if the submission is already readed