Who this token is
GET
/me
const url = 'https://app.surveyrock.com/api/v1/me';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.surveyrock.com/api/v1/me \ --header 'Authorization: Bearer <token>'The workspace this token acts in, its plan, its scopes and what the plan lets it do. Answers on every plan and does not count against the daily request quota. workspace is null for a token whose owner belongs to several workspaces, and capabilities.manage_webhooks is false then. Use it to test a token.
Authorizations
Section titled “Authorizations”Responses
Section titled “ Responses ”The token’s facts