Skip to content

Get embed code for a distributor

GET
/distributors/{id}/embed-code
curl --request GET \
--url 'https://app.surveyrock.com/api/v1/distributors/example/embed-code?mode=inline&width=100%25&height=600px' \
--header 'Authorization: Bearer <token>'

GET /api/v1/distributors/{id}/embed-code

Requirements: 10.1–10.4

id
required
string
mode
string
default: inline
Allowed values: inline popup slider
width
string
default: 100%
height
string
default: 600px

Embed code HTML snippet

Distributor not found