Skip to content

Actions API

Actions represent outreach operations — emails, LinkedIn messages, and other tasks — that can be scheduled, approved, and executed.

POST /v1/actions
FieldTypeRequiredDescription
typestringyesAction type (e.g. send_email, linkedin_message).
paramsobjectyesType-specific parameters for the action.
identity_idstringyesIdentity to perform the action as.
directbooleannoExecute immediately without scheduling.
scheduled_timestringnoISO 8601 timestamp for scheduled execution.
list_idstringnoAssociated list ID.
item_idstringnoAssociated list item ID.
descriptionstringnoHuman-readable description of the action.
require_approvalbooleannoWhether the action needs approval before execution.
Terminal window
curl -X POST https://api.pathbound.io/v1/actions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "send_email",
"params": {
"to": "contact@example.com",
"subject": "Hello",
"body": "Hi there!"
},
"identity_id": "id_123",
"require_approval": true
}'
{
"status": "success",
"action_id": "act_abc123",
"action_summary": "Email to contact@example.com scheduled"
}

GET /v1/actions
ParameterTypeDefaultDescription
statusstringFilter by status.
typestringFilter by action type.
list_idstringFilter by list.
item_idstringFilter by list item.
identity_idstringFilter by identity.
limitnumber20Results per page (1–100).
skipnumber0Number of results to skip.
sort_bystringField to sort by.
sort_dirstringSort direction (asc or desc).
{
"status": "success",
"actions": [ /* action objects */ ],
"pagination": {
"total_items": 42,
"limit": 20,
"skip": 0
}
}

GET /v1/actions/:action_id

Returns the full action object including its current status.


POST /v1/actions/:action_id/execute

Immediately executes a scheduled or pending action.


POST /v1/actions/:action_id/cancel

Cancels a scheduled action that has not yet been executed.


POST /v1/actions/:action_id/approve
FieldTypeRequiredDescription
actionstringyesOne of approve, reject, or edit.
commentstringnoOptional reviewer comment.

POST /v1/actions/approve/bulk
FieldTypeRequiredDescription
actionstringyesOne of approve, reject, or edit.
action_idsstring[]yesArray of action IDs to process.
commentstringnoOptional reviewer comment.

POST /v1/actions/process

Triggers processing of pending scheduled actions.

Query ParamTypeDefaultDescription
limitnumberMax actions to process (1–100).