Introduction to Salesforce Feedback Management
Salesforce Surveys Object Model
Salesforce Surveys Standard Objects
Set Up Your Environment
Access Token
Previous Versions
Create an access token to enable survey invitation creation, and gather feedback from unauthenticated participants.
1/<MyDomainURL>/<AppPrefix>/accessToken1https://yourInstance.salesforce-scrt.com/surveys/v1/accessTokenPOST
Pass the 18 digit orgId in the request. Make a Query() request on the Organization object to fetch the organization ID. See Execute a SOQL Query.
1{
2"orgId": "00DSB00000026pJ2AQ"
3}1{
2 "accessToken": "eyJraWQiOiIwM2ZiN......-UA",
3 "expiresIn": 3600,
4 "tokenType": "Bearer"
5}