latestOpenAPI 3.0.3AGPL-3.0 license2026-08-2211401.8 MB

32391e7c6322

scheduledMessages

Create a draft DM

Create a draft message for a contact. Set status to 'scheduled' with scheduledSendAt to queue for auto-send..

post/scheduled-messages

Request body

contactIdstring required

Internal contact ID

messagestring required

DM text

status'draft' | 'scheduled'

Default 'draft'

scheduledSendAtstring

ISO datetime for auto-send

campaignSlugstring

Response

Message created, or an existing one returned instead

successtrue required
contactNamestring nullable
duplicateboolean

True when an existing message was returned rather than a new one created.

cooldownboolean

True when a recent message to this contact is holding a new one back.

cooldownReasonstring

Why the cooldown applies.

creditsUsedinteger required

Credits consumed by this call. 0 for free endpoints, cached results, duplicates, and for every query that does not touch LinkedIn.

retryAfterinteger required

Seconds to wait before another call of the same type. 0 means no wait is needed.