Authorization

Login

POST https://{{env}}.survey2connect.com/v2/oauth/token

Survey2connect provides simple and powerful access to your survey data using Survey2connect RESTful Web APIs. We support various integrations using RESTful APIs. For establishing any API connection, API consumer needs to initiate an Authentication request. The Authentication services checks for the credentials provided and then returns an auth token upon successful authentication. The API consumer then passes this token along with subsequent requests in order to obtain required data from Survey2connect solution.

Request Body

Name
Type
Description

email

string

email id of a valid S2C account

password

string

password of the S2C account

{
    "data": {
         "access_token": <access token>,
         "token_type": "Bearer",
         "expires_in": 86400,
         "refresh_token": <refresh token>,
         "created_at": 1620129612332
    }
}

Last updated

Was this helpful?