New Get a SurveyOL token, use OpenClaw to create a survey, and distribute invitations by email. See the workflow

Publish Survey Guidance

There is no dedicated publish endpoint in the developer page reference.

Publishing is done by creating a collector for an existing survey.

Create Collector (Publish Path)

  • Method: POST
  • URL: https://api.surveyol.com/v1/survey/{surveyId}/collector

Parameters

  • type (string)
  • title (string)

Allowed type Values

  • Web Link
  • Email
  • Website Embedding
  • Mobile SMS

cURL Example

curl --request POST \
--url https://api.surveyol.com/v1/survey/f04e6345-dd11-4342-8975-0a718d853505/collector \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
	"type": "Web Link",
	"title": "My Web Link"
}'

Response Example

{
	"id": "47323f35-197e-4707-a310-6684ab2932bc",
	"type": "Web Link",
	"title": "My Web Link",
	"url": "https://www.surveyol.com/s/Z4VX28A"
}

Related Docs