v1

latestOpenAPI 3.0.0Apache 2.02026-07-13161564.6 KB
Submissions

Retrieve a submission

get/v1/submission/{endpointId}/{id}

Path parameters

idstring required

The id of the submission

Example:sub_4VjHrJoEwAFC6itz8oUBW9NW2bia
endpointIdstring required

The id of the endpoint

Example:enp_4VjHrJoEwAFC6itz8oUBW9NW2bia

Response

Retrieve a submission

idstring required

The id of the submission

endpointIdstring required

The id of the endpoint

dataobject required

The data of the submission in json format

locationstring required

The origin location of the submission

isSpamboolean required

Shows if the submission is marked as spam

isReadboolean required

Shows if the submission is already readed

Example response

{
  "id": "sub_4VjHrJoEwAFC6itz8oUBW9NW2bia",
  "endpointId": "enp_4VjHrJoEwAFC6itz8oUBW9NW2bia",
  "data": {
    "exampleValue": "foo"
  },
  "location": "Spain"
}