POST
/
leads
curl --request POST \
  --url https://eu-voiceglow-runtime-vbmbkqccuq-ey.a.run.app/v3/leads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "lead": {
    "email": "<string>",
    "name": "<string>",
    "phone": "<string>",
    "metaData": {
      "address": "<string>",
      "company": "<string>",
      "notes": "<string>",
      "source": "chat"
    },
    "agentId": "<string>"
  }
}'
{
  "success": true,
  "message": "<string>",
  "data": "<any>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
lead
object
required

Response

200
application/json
Successful response
success
boolean
required
message
string
required
data
any