📓
Survey2connect
  • Introduction
    • Authentication
    • Environments
  • Authorization
    • Generate Token
    • Refresh Token
  • Responses
    • Create Response
    • Response Availability
    • Export Responses In CSV
    • Export Responses In JSON
    • Export Responses In SPSS
  • Campaigns
    • Create Survey Campaign
    • Generate Survey links
  • Surveys
    • Get Surveys
  • Tickets
    • Get Ticket
    • Get Tickets
  • Templates
    • Get Template
    • Get Templates
    • Create Template
    • Update Template
    • Delete Template
Powered by GitBook
On this page

Was this helpful?

  1. Surveys

Get Surveys

Use this API to get the list of surveys with their ID’s.

GET https://{{env}}.survey2connect.com/v2/api/surveys?skip=&limit=

Path Parameters

Name
Type
Description

env*

String

Query Parameters

Name
Type
Description

skip*

Number

Number of records to be skipped

limit*

Number

Total number of records required

Headers

Name
Type
Description

Authorization

String

Bearer {access_token}

{
  "data": [
    {
      "_id": "612509cf82c0665cd04f585f",
      "title": "Customer Satisfaction",
      "created_at": "2021-08-24T15:01:35",
      "modified_at": "2021-08-25T05:37:21"
    },
    {
      "_id": "61474bd68681a72d725b1c76",
      "title": "<p style=\"margin: 0; padding: 0;\">Copy of OLD SEC TEMPLETE</p>",
      "created_at": "2021-09-19T14:40:22",
      "modified_at": "2021-09-19T14:40:22"
    }
  ],
  "skip": "0,",
  "limit": "50,",
  "total": 2
}{
{
  "error": {
    "name": "bad request",
    "message": "Invalid URL parameters (skip, limit)"
  }
}
{
  "error": {
    "name": "internal server error",
    "message": "We couldn’t process your request"
  }
}
PreviousSurveysNextTickets

Last updated 3 years ago

Was this helpful?