POST
/
sequences
/
{id}
/
leads
curl --request POST \
  --url https://api.amplemarket.com/sequences/{id}/leads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "leads": [
    {
      "email": "lead@target.example.com",
      "linkedin_url": "https://www.linkedin.com/in/example",
      "data": {
        "custom_nickname": "Joe",
        "company_name": "Target"
      },
      "overrides": {
        "ignore_recently_contacted": true,
        "ignore_exclusion_list": true,
        "ignore_duplicate_leads_in_other_draft_sequences": true,
        "ignore_duplicate_leads_in_other_active_sequences": true
      }
    }
  ],
  "settings": {
    "leads_distribution": "custom_mailboxes",
    "mailboxes": [
      "salesrep@first.example.com",
      "salesrep@second.example.com"
    ]
  }
}'
{
  "total": 1,
  "total_added_to_sequence": 1,
  "duplicate_emails": [],
  "duplicate_linkedin_urls": [],
  "in_exclusion_list_and_skipped": [],
  "recently_contacted_and_skipped": [],
  "already_in_sequence_and_skipped": [],
  "in_other_draft_sequences_and_skipped": [],
  "in_other_active_sequences_and_skipped": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Sequence id

Body

application/json

Response

200
application/json

Ok

The response is of type object.