Hey everyone – I’m trying to build a pair of Glean Custom Actions to pull individual survey links from Qualtrics:
- Create Distribution (POST
/API/v3/distributions
) - Fetch Links (GET
/API/v3/distributions/{id}/links
)
I’ve set up an OAuth Admin (Client Credentials) flow against my iad1.qualtrics.com
datacenter, with scope write:distributions
, but the “Authorize Action” call just hangs, and Qualtrics keeps returning “Invalid state” when I switch payloads between sending vs. link-gen formats.
Has anyone here successfully done this? Would love to see:
- A known-good OpenAPI spec snippet for the “generate links” step
- The exact auth settings you used in Glean (Client URL, Auth/Token URLs, scopes)
- Any gotchas around payload shapes (action vs. distributionType, linkType, recipients vs. top-level fields)
If you’ve cracked this integration, please drop your examples or point me to a reference. Thanks in advance!