MBKChat icon

MBKChat

Desfrute da MbkChat_API

Chat → Send Location

AI-generated

Summary

Sends a location to a phone number using the MBKChat API.

Inputs

  • phone (required) — Phone number to send the message to (e.g., 5511999999999)
  • latitude (required) — Latitude coordinate of the location (e.g., 48.858370)
  • longitude (required) — Longitude coordinate of the location (e.g., 2.294481)
  • locationName — Optional name or label for the location

Output shape

a single JSON record representing the sent location message (or error)

On success the response typically contains the message ID and status; on failure the response may include an error object. The shape is not strictly defined and can vary by API version.

Examples

Example 1: Notify a client of a meeting location

Phone set to '+5511987654321', Latitude 23.550520, Longitude -46.633308, Location Name 'Conference Room A'

Example 2: Share coordinates of a new event venue

Phone '+5511999999999', Latitude 48.858370, Longitude 2.294481, Location Name 'Paris City Hall'

Links

Discussion