Submissions API
Get Submissions
GET https://postform.com/api/v2/submissions
Parameters
Parameter | Type | Description | Default |
---|
date_created_after | Date | Get submissions submitted after this date | |
date_created_before | Date | Get submissions submitted before this date | |
is_spam | Boolean | Filter submissions by the is_spam flag | false |
limit | Number | Maximum number of submissions to return | 100 |
offset | Number | Number of submissions to skip | 0 |
search | String | Partial text search the submission value | |
sort | String | Order the submissions by a certain field | |
Example using CURL
$ curl -H "Authorization: Bearer API_KEY" https://postform.com/api/v2/submissions
Sample response
{
"has_more": false,
"data": [
{
"date_created": "2021-01-04T07:07:59.000Z",
"id": 1357,
"is_spam": 0,
"value": {
"name": "John",
"email": "john@example.com",
"message": "Hello!"
}
}
]
}
Was this page helpful?