API Search endpoints…⌘K Get API credentialsGet access

Add contacts to a partner

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

Adds one contact, or several in one call, to a sourcing partner.

No is_primary on this payload. Promotion is its own endpoint, because exactly one contact may be primary and a boolean here would have to silently demote the incumbent; a side effect nobody asked for, on a field that looks like a simple flag.

The partner's first contact becomes primary automatically: every screen downstream assumes a point of contact exists, and leaving the first unpromoted means each of them invents its own rule for picking.

Path parameters

partnerIdpath · string · required

Header parameters

Idempotency-Keyheader · string · optional

Per-intent key

Request body application/json

rolestring · optional

The contact's title. The call accepts one contact or several; this lists the fields of one.

purposestring · optional

What the contact is contacted about. It differs from the role.

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