API Search endpoints…⌘K Get API credentialsGet access

Activate a partner

POST/lokta-lms/api/v1/sourcing-partners/{partnerId}/activation

Activates a sourcing partner, so loans can be attributed to it.

Moves pending or inactive → active. Until this happens the partner cannot be attributed a loan, which is what makes this the step that closes onboarding rather than a cosmetic flag.

Refused with 422 sourcing/partner_has_no_active_terms unless an agreement is in force. An active partner can be attributed loans, and activating one with no terms would leave the lender owing fees on no agreed basis; a gap that otherwise surfaces at the first fee run rather than while somebody could still fix it.

reason is optional here: activation is the expected end of onboarding and explains itself. It is recorded in status_history either way.

onboarded_on is stamped the first time a partner becomes active and never overwritten; a partner reactivated in 2028 was still onboarded when it first went live.

When to use it

This is the last step of onboarding. Call it once terms are in place.

Worth knowing

Path parameters

partnerIdpath · string · required

Opaque partner id, spr_…

Header parameters

Idempotency-Keyheader · string · optional

Per-intent key

Request body application/json

reasonstring · optional

Optional here. Activation is the expected end of onboarding.

Responses

defaultdefault response

Every request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors. Open this operation in the interactive explorer, or read it as Markdown.

This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai