When you authenticate with Sugar Integrate, you need to include your Organization Secret and User Secret as headers with each request. When interacting with adapter instances, you will typically need an an adapter instance token instead of an Organization Secret.
When you create an account with us, we assign you an Organization Secret and a User Secret. An Organization is a customer account of Sugar Integrate (
/organizations), while a user (
/user) is an individual within an organization. The User and Organization secrets represent your account with Sugar Integrate.
To find your Organization and User secret, open the profile menu.
Here's an example request to the Sugar Integrate
users resource that includes the Organization Secret and User Secret in the headers:
curl -X GET \ https://api-us.integrate.sugarapps.com/elements/api-v2/users/4370 \ -H 'authorization: User sAfK7LJGNz5ZHcNrvdJvLI=f03WbTbH6aRKc0HJ3oOIi, Organization 58168435e3b9959a929eb04b6218b9a2' \ \ -H 'content-type: application/json'\
For more information about authenticating adapter instances, see our documentation.