Skip to content

Get embed code for a distributor

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

GET /api/v1/distribution/{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