API endpoint
All GraphQL requests are sent to a single HTTPS endpoint:Required headers
Every request to the Lender API must include the following headers:| Header | Description |
|---|---|
Content-Type: application/json | Indicates the request body is JSON |
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 |
Example request
Here’s an example of a basic GraphQL request using curl to fetch your lender organization details:Example request
Example response
Differences from the Partner API
If you’ve already integrated with the Partner API, the Lender API works the same way — the only difference is the endpoint URL:| API | Endpoint |
|---|---|
| Partner API | https://api.ownright.com/partners/graphql |
| Lender API | https://api.ownright.com/lenders/graphql |