Skip to main content
POST
/
v1.0
/
leads
/
{leadId}
/
assignment
Assign Lead
curl --request POST \
  --url https://api.lofty.com/v1.0/leads/{leadId}/assignment \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
[
  {
    "role": "Agent",
    "assignee": "info@lofty-mail.me"
  }
]
'
{
  "leadId": 651095960136641
}

Documentation Index

Fetch the complete documentation index at: https://developer.lofty.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
required

Bearer [access_token]

Content-Type
string
required

application/json

Path Parameters

leadId
integer<int64>
required

Body

application/json
role
string
required

Role, Agent, Assistant, Lender

Example:

"Agent"

assignee
string

Account of assignee

Example:

"info@lofty-mail.me"

Response

200 - application/json

Successful operation.

Response containing the lead ID.

leadId
integer<int64>

ID of the lead.

Example:

651095960136641