Get a survey cut off date

Overview

This endpoint returns the cut-off date for a specific survey.

Authentication

This request requires an Authorization header with a valid token.

URL: GET https://api3.blocksurvey.io/v1/survey/cut_off_date

Query Parameters

Parameter
Type
Optional
Description

surveyId

String

No

The ID of the survey.

teamId

String

Yes

The team ID.

cURL Example

curl --request GET \
 --url 'https://api3.blocksurvey.io/v1/survey/cut_off_date?surveyId=YOUR_SURVEY_ID&teamId=YOUR_TEAM_ID' \
 --header  'Authorization: Bearer user_api_token'

Remember to replace YOUR_SURVEY_ID and YOUR_TEAM_ID in the cURL example with actual values when testing or using the API endpoint.

Response

Successful Response

{
  "status": "success",
  "scheduledStartDate": 1655702822000
}

Last updated