Skip to main content
PUT
Assign an organization lead to an active member, or return it to the unassigned queue.

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.

Path Parameters

id
string
required

The ID of the lead whose assignment should be updated.

Body

The requested assignee, or an unassigned selection.

Assigns an organization lead to an active organization member. A null user ID returns the lead to the unassigned queue.

assignedToUserId
null | string

Response

OK

Describes lead data returned by Leadping.

assignedToUserId
null | string

Leadping user currently responsible for this lead, or null when it is in the unassigned queue.

assignedTo
object | null

Identifier and display name of the active organization member assigned to this lead.

metadata
object

Structured metadata used for attribution, integrations, and reporting on this lead response.

contact
object

Contact details for the lead or customer represented by this lead response.

phoneIdentity
object | null

Canonical phone identity and provider lookup details for this lead.

customer
object

Demographic profile details for the lead represented by this lead response.

enabled
boolean

Indicates whether this lead response is active and available in the Leadping API.

deletedAt
null | string<date-time>

UTC timestamp when this lead was soft deleted.

deletedByUserId
null | string

User ID of the person who soft deleted this lead.

archivedAt
null | string<date-time>

UTC timestamp when this record was archived.

archivedByUserId
null | string

User ID of the person who archived this record.

archiveReason
null | enum<integer>

Defines why a lead was removed from the active working pipeline.

Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
archiveNote
null | string

Optional note explaining why the lead was archived.

isArchived
boolean

Indicates whether the lead has been archived in Leadping.

currentLeadStatus
object | null

Current lead status change summary that describes the lead outcome.

processingStatus
null | enum<string>

Defines the asynchronous verification and enrichment lifecycle for a lead.

Available options:
Quarantined,
Verifying,
Validating,
Enriching,
Ready,
Invalid,
Failed
processingStatusReason
null | string

Explanation when asynchronous lead processing is blocked or fails.

processingStatusChangedAt
null | string<date-time>

UTC timestamp when the processing stage last changed.

tags
object[]

Tags currently attached to this lead, source, or record.

id
string

Stable unique identifier of the resource.

createdAt
string<date-time>

UTC timestamp when the resource was created.

modifiedAt
null | string<date-time>

UTC timestamp when the resource was last modified, or null when it has not been updated.