Users
Show Self
Changed onThe endpoint returns user information and an authenticity_token.
Allowed For
- Anonymous users
Authenticity Token
Zendesk API calls made by end users from a Zendesk help center must include authenticity_token in the X-CSRF-Token HTTP header. This helps prevent cross-site request forgery (CSRF) attacks.
For an example using an authenticity token, see the AJAX request in the Upgrading from Templating API v1 documentation.
get/api/v2/users/me
Request
- Base URLhttps://example.zendesk.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Success response
Changes
- breaking
added to the
////response propertyoneOflist for the response status - info
removed from the
////response propertyanyOflist for the response status
- breaking