Robeeta Cloud Msg4 API Document

Robeeta Cloud Msg4 API Document

Create Interactive Message

Robeeta Cloud Msg4 API Documentation - CreateWbaInteractiveMessage

Creates and sends an interactive WhatsApp message to the specified user. This endpoint requires the ApiKey, MobileNumber, and SenderNumber, along with the Interactive object that defines the message type and its content. Interactive messages may include list menus, quick-reply buttons, call-to-action buttons, or other structured formats.

POST https://api.msg4.cloud.robeeta.com/Message/CreateWbaInteractiveMessage

Authorization: ApiKey

Header: Content-Type: application/json

Request Body

  • ApiKey: string - (required) Required API key.
  • MobileNumber: string - (required) Mobile number to which the template message will be sent.
  • SenderNumber: string - (required) Registered mobile number from which the message will be sent.
  • Interactive: object - (required) Object describing the interactive message.

Interactive Object:

FieldTypeDescription
typestringMessage type — list, button
bodyobjectMain message text
actionobjectList, buttons

Body Object

FieldTypeDescription
textstringMain content text

Action Object

  • List: Uses button and sections.
  • Buttons: Uses buttons array.

List Fields

FieldTypeDescription
buttonstringButton text shown on list opener
sectionsarrayGroup of selectable rows
row.idstringReturned when user selects it
row.titlestringRow display text
row.descriptionstringOptional row details

Button Fields

FieldTypeDescription
buttonsarrayList of reply buttons
reply.idstringReturned value
reply.titlestringButton label

Response Body

  • Response: string - A message indicating the outcome of the request.
  • StatusCode: integer - A numeric status code representing the result of the operation (200 indicates success).
  • DeliveryStatus: string - The status of the message delivery (e.g., "Submitted", "Failed", "Error").
  • Status Codes and Descriptions: The table below provides a list of possible status codes returned by the API along with their corresponding response descriptions.

Status Codes

StatusCodeResponse
200OK
1704Invalid ApiKey
1705Invalid Mobile Number
1706Invalid Sender Number
500Unknown Error

Note: Ensure the sender number is verified and media URLs are publicly reachable.

Sample Request — List

            
Sample Request — Button

            
Response