REST API - Get the 'me' Object
Integrations REST API Training REST API

REST API - Get the 'me' Object

In this first exercise you will query the /me resource or object. The Xurrent REST API provides the /me endpoint to get information for the currently authenticated person. Check the Xurrent Developer Site for all details.

Exercise:

You need to add the me record type with access ‘All’ to the scope of the personal access token of Howard Tanner.

This is the CURL command:

curl -i -H "Authorization: Bearer <personal-token>" -H "X-Xurrent-account: widget" -X GET "https://api.4me-demo.com/v1/me"


Note that the Person record of Howard Tanner is stored in the ‘Widget International’ account. The ID of this account is ‘widget’. In the user interface, you can find the Account ID of a Xurrent account in the Account Overview section of the Settings console.

Next Topic