Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer API key. Secret server keys start with gt_live_; client-safe browser keys start with gt_pub_ (write-only, origin-pinned). Create and scope keys in Settings → API Keys.

Path Parameters

id
string<uuid>
required

The survey's UUID.

Body

application/json

Who to invite. Send exactly one of personIds, segmentId or audience.

personIds
string<uuid>[]
required

Ids of people. Duplicates are ignored.

Required array length: 1 - 100 elements

Response

Invitations accepted.

data
object
required