Ana içeriğe atla
POST
Send a location to a conversation

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

id
integer
gerekli

The conversation identifier

Gövde

application/json
latitude
number | null

Latitude of the point to send. Omit it together with longitude to send the clinic's location from Clinic Information.

Gerekli aralık: -90 <= x <= 90
longitude
number | null

Longitude of the point to send.

Gerekli aralık: -180 <= x <= 180
name
string | null

Place name shown on the pin. Defaults to the clinic's name when the clinic's location is sent.

Maximum string length: 255
address
string | null

Address shown on the pin. Defaults to the clinic's address when the clinic's location is sent.

Maximum string length: 500

Yanıt

The response is of type object.