When you authenticate with SAP Open Connectors, you need to include your Organization Secret and User Secret as headers with each request. When interacting with connector instances, you will typically need an a connector 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 SAP Open Connectors (
/organizations), while a user (
/user) is an individual within an organization. The User and Organization secrets represent your account with SAP Open Connectors.
To find your Organization and User secret, open the profile menu.
Here's an example request to the SAP Open Connectors
users resource that includes the Organization Secret and User Secret in the headers:
curl -X GET \ https://api.openconnectors.us2.ext.hana.ondemand.com/elements/api-v2/users/4370 \ -H 'authorization: User sAfK7LJGNz5ZHcNrvdJvLI=f03WbTbH6aRKc0HJ3oOIi, Organization 58168435e3b9959a929eb04b6218b9a2' \ \ -H 'content-type: application/json'\
For more information about authenticating connector instances, see our documentation.