Garfield Partner API
A server-to-server REST API for partners that refer businesses to Garfield AI and create debt-recovery claims on their behalf.
| Base URL | https://www.garfield.law/api/partner/v1 |
| Format | JSON request and response bodies |
| Auth | Bearer API key on every request |
Every endpoint requires
authentication. Examples throughout the guide use $BASE
and $TOKEN; set them once and every example runs as-is:
export BASE="https://www.garfield.law/api/partner/v1"
export TOKEN="pk_test_..." # your full key from Console → Keys
Start here
- Authentication: send your API key as a bearer token.
- Test mode: build against the sandbox with a
pk_test_…key, then switch to apk_live_…key. - The integration flow: onboard or connect a business, then file claims.
- API reference: the full request and response schema for every endpoint.
- Console → Usage: confirm your calls landed and watch error rates as you go live.
Existing Garfield users: open Settings → Partner API, select Go to developer console, and sign in with your Garfield account.
New users: sign up for API access.
New partners are reviewed by the Garfield team before keys can be created. Once
approved, create a pk_test_… key from Console → Keys.
Two integration paths
There are two ways to reach a connected entity_id you can create claims for,
depending on whether the business already uses Garfield:
- Path A, new to Garfield:
POST /onboardings→ upload documents →POST /claims. - Path B, already a customer:
POST /connect-requests→ upload documents →POST /claims.
See The integration flow for both paths end to end, with a copyable request and response for every endpoint.