Joinotify

Reply in a conversation

POSThttps://api.joinotify.com/inbox/conversations/{id}/messages

Sends a message through the conversation's number, chosen by kind:

kindWhat
textFree-form text. Only with the 24-hour window open
mediaA file already uploaded to POST /inbox/conversations/{id}/media. Only with the window open
templateAn approved template. Reopens the conversation at any time
noteInternal note: stays in the conversation, never goes to WhatsApp

Outside the window, text and media are refused before sending with 422 window_closed and the windowExpiresAt. The reply reopens a closed or snoozed conversation and pauses automations for a while, as when a team member answers.

Path Params

1 required

stringrequired

Body Paramsapplication/json

1 required23 optional

stringrequired

Allowed values:textmediatemplatenotereactionforwardlocationcontactslocation_requestbuttonslistcta_url

stringoptional

min. 1 charactersmax. 4096 characters

stringoptional

Internal id of a message in the conversation, to quote.

stringoptional
stringoptional

max. 1024 characters

stringoptional

The template's Joinotify id or its Meta id.

objectoptional
booleanoptional

With kind: media, sends the audio as a voice note. The file must be OGG.

stringoptional

Internal id of the conversation message that gets the reaction (last 30 days).

stringoptional

The reaction emoji. Empty ("") removes the reaction.

stringoptional

Internal id of the message to forward.

numberoptional

Latitude, from -90 to 90.

min. -90max. 90

numberoptional

Longitude, from -180 to 180.

min. -180max. 180

stringoptional

Name of the place.

stringoptional

Address of the place.

array of stringsoptional

Ids of contacts in the base to send as cards (1 to 10, only those with a phone).

up to 10 items

stringoptional

Main text of the interactive message.

stringoptional

Title above the text.

stringoptional

Footer in smaller type.

array of stringsoptional

Reply button titles: 1 to 3, up to 20 characters, no repeats.

up to 3 items

stringoptional

Text of the button that opens the list (up to 20 characters).

max. 20 characters

array of objectsoptional

List sections: 1 to 10, with at most 10 rows across all of them.

up to 10 items

stringoptional

The link button's text (up to 20 characters).

max. 20 characters

string<uri>optional

The https:// link the button opens.

Responses