Sequence Activities

Create sequence activity

Create a new sequence activity (note) and update the associated lead

post/v2/sequences/activities

Request

  • Base URL: https://api.village.ai
  • URL: https://api.village.ai/v2/sequences/activities
  • Auth: HTTP bearer

Request body

sequence_lead_idstring required

Encrypted lead identifier

activity_type'note' required
user_action'add_note_replan' | 'add_note' | 'finish' | 'snooze' | 'remove' required

Type of user action that creates an activity. add_note records a note (e.g. guidance for the AI to improve future emails) WITHOUT triggering a replan; add_note_replan records a note and reschedules the lead.

notestring
snooze_duration'1_day' | '3_days' | '1_week'

Duration for snoozing a lead

activity_idstring

Encrypted activity identifier

Example request

{
  "sequence_lead_id": "MLVEUwp4gsag4gMsc10q5g%3D%3D!vNnNM",
  "activity_id": "MLVEUwp4gsag4gMsc10q5g%3D%3D!vNnNM"
}

Response

Activity created successfully

Example response

{
  "data": {
    "id": "MLVEUwp4gsag4gMsc10q5g%3D%3D!vNnNM",
    "sequence_lead_id": "MLVEUwp4gsag4gMsc10q5g%3D%3D!vNnNM"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.