Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt

Use this file to discover all available pages before exploring further.

Get Surveys Submissions
GET https://services.leadconnectorhq.com/surveys/submissions

Autorizacion

Authorization
string
required
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.

Query parameters

locationId
string
default:"ve9EPM428h8vShlRW1KT"
required
page
number
default:"1"
Page No. By default it will be 1
limit
number
default:"20"
Limit Per Page records count. will allow maximum up to 100 and default will be 20
surveyId
string
default:"jjusM6EOngDExnbo2DbU"
Filter submission by survey id
q
string
default:"john@deo.com"
Filter by contactId, name, email or phone no.
startAt
string
default:"2020-11-14"
Get submission by starting of this date. By default it will be same date of last month(YYYY-MM-DD).
endAt
string
default:"2020-12-14"
Get submission by ending of this date. By default it will be current date(YYYY-MM-DD).

Respuestas

submissions
object[]
meta
object
{
  "submissions": [
    {
      "id": "be759b9a-c3ec-4b29-ba07-fc3c89c77673",
      "contactId": "9NkT25Vor1v4aQatFsv2",
      "createdAt": "2020-11-01T18:02:21.000Z",
      "surveyId": "jjusM6EOngDExnbo2DbU",
      "name": "test",
      "email": "test@test.com",
      "others": {
        "__submissions_other_field__": "john@deo.com",
        "__custom_field_id__": "20",
        "eventData": {},
        "fieldsOriSequance": [
          "full_name",
          "first_name",
          "last_name",
          "phone",
          "email"
        ]
      }
    }
  ],
  "meta": {
    "total": 1,
    "currentPage": 1
  }
}
{}
{}
{}

Ejemplo

curl -X GET 'https://services.leadconnectorhq.com/surveys/submissions' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28'