Zapper Api
Send a message through the Zapper integration
This endpoint allows sending a text message and/or attachments to a destination number, using a configured Zapper instance. The message is also registered in the conversation associated with the agent and contact.
POST
/
zapper
/
instances
/
{id}
/
message
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
id
string
requiredZapper instance ID (externalId of the ServiceProvider of type 'zapper').
Body
application/json
message
string
Textual content of the message.
contactPhone
string
Recipient's number.
attachments
object[]
Optional list of attachments to be sent.
Response
200 - application/json
id
string
text
string
html
string | null
from
enum<string>
Available options:
human, agent conversationId
string
sources
object[] | null
usage
object | null
externalId
string | null
userId
string | null
contactId
string | null
visitorId
string | null
agentId
string | null
metadata
object | null
inputId
string | null
eval
enum<string> | null
Available options:
good, bad read
boolean
agentModel
string | null
usageCredits
number | null
createdAt
string
updatedAt
string
Was this page helpful?

