Overview
Connecting
General details on how to connect to the Partner API
Before you start sending queries and mutations, you need to know where to send requests and what headers to include. This page covers the basics of making a successful connection to the Ownright Partner API.
๐ API endpoint
All GraphQL requests are sent to a single HTTPS endpoint:
๐งพ Required headers
Every request to the Partner API must include the following headers:
Header | HTTP Status |
---|---|
Content-Type: application/json | HMAC SHA256 signature of the request |
X-Ownright-Client-Id | Your unique API client ID |
X-Ownright-API-Key | Your long-lived API key used for authentication |
X-Ownright-Organization-Id | A constant identifier for the Ownright platform |
These headers are used to authenticate your requests and route them correctly.
๐ฆ Example Request
Hereโs an example of a basic GraphQL request using curl:
Example request
๐ Need Help?
If you havenโt received your client ID or API key yet, read the Authentication documentation.