Skip to main content
PUT
Update a submission

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

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