Swap your client_id and client_secret for a bearer token — the
credential you send with every other call in this API. The token
belongs to one processing company, which is what keeps every read and
write inside your own company's data.
You can send the credentials as JSON or as ordinary form fields.
Both are accepted.
A token lasts 72 hours (259200 seconds). Ask for a shorter one by
sending expire with a number of seconds between 1 and 259200 — 72
hours is both the default and the longest a token can last, so
expire can only make it shorter, never longer. Ask for a fresh
token, or call POST /api/v4/refresh, before the one you hold runs
out; otherwise a long-running job starts getting 401 replies
part-way through.
Only client credentials are accepted here. If you send grant_type
it has to be client_credentials. code and redirect_uri are not
accepted at all — sending either one is refused with 422.
Deprecated. This way of signing in is being replaced. For a new integration, ask LendingWise support for a Sanctum API key for your processing company instead: an API key does not expire, so there is no refresh to run. Tokens issued here still work, and a reply to a call that used one carries the Deprecation, Warning and Link headers described in RFC 8594. No retirement date has been set.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||

