Submissions API

Get Submissions

GET https://postform.com/api/v2/submissions

Parameters

ParameterTypeDescriptionDefault
date_created_afterDateGet submissions submitted after this date
date_created_beforeDateGet submissions submitted before this date
is_spamBooleanFilter submissions by the is_spam flagfalse
limitNumberMaximum number of submissions to return100
offsetNumberNumber of submissions to skip0
searchStringPartial text search the submission value
sortStringOrder 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?