Skip to main content
POST
Create a submission

Path Parameters

endpointId
string
required

The id of the endpoint

Example:

"enp_4VjHrJoEwAFC6itz8oUBW9NW2bia"

Body

application/json

The body is of type object.

Response

Create 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