Corporativo API
  1. ENVIO DE MENSAJES POR WHATSAPP
Corporativo API
  • AUTORIZACION
    • Login
      POST
  • INGRESO ESTADO FINANCIERO
    • Estado Financiero
      POST
    • Estado Financiero V2
      POST
  • INGRESO DE DATOS DE VENTA
    • Datos Venta
      POST
    • Datos Venta V4
      POST
  • INGRESO DE DATOS DE CARTERA
    • Datos Cartera
      POST
  • INGRESO DE DATOS DE COMPRA
    • Datos Compra
      POST
    • Datos Compra Versión 2
      POST
  • INGRESO REGISTROS DE INVENTARIO
    • Datos Inventario
      POST
  • DIVISION POLITICA
    • Ciudades por pais
      GET
  • REPORTE COMERCIAL
    • B2C
      POST
    • B2B
      POST
  • ENVIO DE MENSAJES POR WHATSAPP
    • Mensaje tipo Texto
      POST
    • Mensaje tipo Imagen
      POST
    • Mensaje tipo Ubicación
      POST
    • Mensaje tipo Botón
      POST
    • Mensaje tipo Plantilla
      POST
  1. ENVIO DE MENSAJES POR WHATSAPP

Mensaje tipo Botón

Developing
POST
https://apicorporativo.curbe.com.ec/api/WhatsappIntegration/send/message
Envio de mensaje vía Whatsapp, texto del mensaje y texto de botones
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://apicorporativo.curbe.com.ec/api/WhatsappIntegration/send/message' \
--header 'Content-Type: application/json' \
--data-raw '{
  "ref_number_to": "593999999999",
  "ref_number_from": "593999999999",
  "ref_whatssap_type": "interactive",
  "ref_type_message": 3,
  "ref_parameters_header": [],
  "ref_parameters_body_template": [],
  "ref_text_buttons": []
}'
Response Response Example
{
  "ref_code": 200,
  "ref_message": "Mensaje enviado",
  "ref_success": true,
  "ref_data": null
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
ref_number_to
string 
required
Numero de celular al cual se va enviar el mensaje.
ref_number_from
string 
required
Numero de celular el cual envia el mensaje.
ref_whatssap_type
string 
required
Tipo de mensaje a enviar.
ref_type_message
integer 
required
Tipo de estructura de mensaje (3 por defecto)
ref_parameters_header
array[string]
required
Cabecera para el mensaje a enviar(solo se debe enviar un texto).
ref_parameters_body_template
array[string]
required
Texto del mensaje a enviar(solo se debe enviar un texto obligatoriamente).
ref_text_buttons
array[string]
required
Texto que contendran los botones a enviar(Solo se pueden mandar 3 textos como máximo, cada texto es para un boton diferente).
Examples

Responses

🟢200Success
application/json
Body
ref_code
integer 
required
ref_message
string 
required
ref_success
boolean 
required
ref_data
null 
required
Modified at 2025-05-29 17:54:08
Previous
Mensaje tipo Ubicación
Next
Mensaje tipo Plantilla
Built with