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 Ubicación

Developing
POST
https://apicorporativo.curbe.com.ec/api/WhatsappIntegration/send/message
Envio de mensaje vía Whatsapp, ubicacion (lugar, dirección)
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": "location",
  "ref_type_message": 3,
  "location": {
    "lat": "0000000000",
    "lon": "0000000000",
    "name": "city",
    "address": "address"
  }
}'
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)
location
object 
required
Propiedades para el envio de la ubicación.
lat
string 
required
Latitud de la dirección.
lon
string 
required
Longitud de la dirección.
name
string 
required
Nombre del lugar.
address
string 
required
Direccón en texto del lugar.
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 16:33:12
Previous
Mensaje tipo Imagen
Next
Mensaje tipo Botón
Built with