Inbox

Draft a reply

Has Bavlio draft your next message now and stores it as suggested_reply, for you to edit and send: a reply when the person wrote last, a short follow-up when you did. Nothing goes out. A conversation that already has a suggested_reply comes back unchanged. Works in both scopes, except where the campaign wrote last and is waiting for the person.

POST
/conversations/{id}/draft

Authorizations

Authorizationstringheaderrequired

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

Path Parameters

idstringrequired

The conversation's id, from List conversations.

Response

application/json

Success

idstringrequired
scopeenum<string>required

campaigns: a person a campaign reached. other: a LinkedIn or email conversation outside campaigns, from an account whose all_messages is on.

Available options: campaigns, other

personobjectrequired

The other person in the conversation.

campaignobject | nullrequired

The campaign that reached the person; null in scope other.

senderstringrequired

Who answers on your side: the LinkedIn account's name or the email inbox's address, otherwise the workspace name.

reply_channelenum<string>required

Where a reply goes out: linkedin or email, the channel the person last wrote on.

Available options: linkedin, email

intentenum<string> | nullrequired

What the person's latest reply means, as Bavlio read it: interested (open to talking or asking how to proceed), meeting_booked (says a meeting is booked), question (asks something before deciding), referral (points to someone else), not_now (not a priority now, maybe later) or not_interested (a clear no). Null until a reply was read, and always in scope other.

Available options: interested, meeting_booked, question, referral, not_now, not_interested

needs_replybooleanrequired

True while the person's latest reply waits for an answer. Replies read as meeting_booked or not_interested need none; always false in scope other.

unread_countintegerrequired

How many of the person's messages are unread; marking the conversation read resets it.

suggested_replystring | nullrequired

A reply Bavlio drafted for you to edit and send, in either scope; null when there is none.

meetingobject | nullrequired

The meeting booked with the person; null when none, and always in scope other.

last_message_authorenum<string>required

Who wrote the latest message: lead, campaign or you.

Available options: lead, campaign, you

last_message_previewstringrequired

The first 160 characters of the latest message.

last_message_atstringrequired

When the latest message was sent, ISO 8601.

industrystring | nullrequired

Industry of the person's company; null when unknown, and always in scope other.

headcountenum<string> | nullrequired

Employee-count band of the person's company; null when unknown, and always in scope other.

Available options: 1, 2-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+

signalsobject[]required

The signals that surfaced the lead; empty in scope other.

messagesobject[]required

The whole transcript, oldest message first.