Campaigns

List campaign tasks

The work this campaign owes its leads, and when each step is due.

GET

/api/v1/campaigns/{campaignId}/tasks

Path parameters

campaignId

required

string · uuid

Campaign id

Query parameters

cursor

optional

string

limit

optional

integer

status

optional

"pending" | "pending_approval"

Response

200A page of tasks in queue order — the earliest scheduled first, which is the order the worker will run them in. Pass nextCursor as cursor for the next page.

tasks

object[]

nextCursor

string | null

Errors

  • 400: Bad request
  • 401: Unauthorized: missing or invalid API key
  • 403: Forbidden
  • 404: Not found
  • 422: Invalid request payload

Search docs

Search documentation, API reference, and MCP tools

We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy