Skip to main content
POST
Create a task

Authorizations

Authorization
string
header
required

Your API key, created in the Leadey dashboard under Settings → API Keys. Send it as Authorization: Bearer leadey_sk_live_….

Body

application/json
label
string
required

What needs doing.

dueAt
string<date-time>

When it is due, as an ISO 8601 timestamp. Omit for no deadline.

leadId
string

The lead this task is about.

campaignId
string

The campaign it belongs to.

assigneeId
string

Workspace member responsible. Defaults to the key's member.

category
string

Task type. Defaults to follow_up.

Response

The task was created.

data
object
required