Skip to main content
POST
/
leads
/
audio
Upload Audio for Voice Message Step
curl --request POST \
  --url https://api.lemlist.com/api/leads/audio \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "ok": true,
  "status": {
    "url": "https://lemlist-dev.s3.eu-west-1.amazonaws.com/fil_bECTszeFQMneA43D2.m4a",
    "teamId": "tea_KWvTf2CypcBqG4QG2",
    "campaignId": "cam_B3MJETF3YxvGaR4dC",
    "leadId": "lea_CgfmTDCPC43gwPgYk",
    "fileName": "file2"
  }
}
Upload an audio file for a voice message step in your campaign sequence.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

leadId
string
required

The unique identifier of the lead

stepId
string
required

The unique identifier of the voice message step

Body

multipart/form-data
file
file

Audio file to upload

Response

Success

ok
boolean
status
object