Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt

Use this file to discover all available pages before exploring further.

Post the necessary fields for the API to add a new outbound call.
POST https://services.leadconnectorhq.com/conversations/messages/outbound

Autorizacion

Authorization
string
required
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.

Body

type
string
default:"Call"
required
Message Type Posibles valores: ‘Call’
attachments
string[]
Array of attachments
conversationId
string
default:"ve9EPM428h8vShlRW1KT"
required
Conversation Id
conversationProviderId
string
default:"61d6d1f9cdac7612faf80753"
required
Conversation Provider Id
altId
string
default:"61d6d1f9cdac7612faf80753"
external mail provider’s message id
date
string
Date of the outbound message
call
object
Phone call dialer and receiver information

Respuestas

success
boolean
required
conversationId
string
default:"ABC12h2F6uBrIkfXYazb"
required
Conversation ID.
messageId
string
default:"t22c6DQcTDf3MjRhwf77"
required
This is the main Message ID
message
string
required
contactId
string
dateAdded
string
emailMessageId
string
{
  "success": true,
  "conversationId": "ABC12h2F6uBrIkfXYazb",
  "messageId": "t22c6DQcTDf3MjRhwf77",
  "message": "string",
  "contactId": "string",
  "dateAdded": "2024-01-15T10:30:00Z",
  "emailMessageId": "string"
}
{}
{}

Ejemplo

curl -X POST 'https://services.leadconnectorhq.com/conversations/messages/outbound' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
  "type": "Call",
  "attachments": [
    "string"
  ],
  "conversationId": "ve9EPM428h8vShlRW1KT",
  "conversationProviderId": "61d6d1f9cdac7612faf80753",
  "altId": "61d6d1f9cdac7612faf80753",
  "date": "2024-01-15T10:30:00Z"
}'