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

Update Survey

Use this endpoint to update a survey title.

Endpoint

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

Parameters

  • surveyId (string)
  • title (string)

cURL Example

curl --request POST \
--url https://api.surveyol.com/v1/survey/bf92a312-cc65-4126-8298-bcb5c957bddd \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
  "title": "Customer Excellence Survey"
}'

Response Example

{
  "id": "bf92a312-cc65-4126-8298-bcb5c957bddd",
  "title": "Customer Excellence Survey"
}