Skip to main content
POST
/
lead
/
sendtoworkflow
curl --request POST \
  --url https://api.plura.ai/v1/lead/sendtoworkflow \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workflow_id": "98249779-79ae-462f-a0cf-7ce5129cc093",
  "record": {
    "phone": "17145551234",
    "first_name": "John",
    "last_name": "Smith",
    "email": "johnsmith@mail.com",
    "company": "Acme Corp"
  }
}
'
{
  "status": "success",
  "lead_id": "307fc241-8398-4740-8122-cf6a59f3b86e",
  "workflow_assigned": true,
  "message": "Lead successfully added to workflow"
}

Documentation Index

Fetch the complete documentation index at: https://docs.plura.ai/llms.txt

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

Authorizations

Authorization
string
header
required

API key from Settings → API Keys in your workspace

Body

application/json
workflow_id
string
required

Journey ID from your workspace URL (not the Flow ID)

Example:

"98249779-79ae-462f-a0cf-7ce5129cc093"

record
object

Lead data for creating a new lead. Provide this OR lead_id, not both.

lead_id
string

Existing lead UUID. Provide this OR record, not both.

Example:

"307fc241-8398-4740-8122-cf6a59f3b86e"

Response

Lead enrolled successfully

status
string
Example:

"success"

lead_id
string
Example:

"307fc241-8398-4740-8122-cf6a59f3b86e"

workflow_assigned
boolean
Example:

true

message
string
Example:

"Lead successfully added to workflow"