Location Sharing

Stop location sharing

Stop a contact's location share with you. handle is required and names whose share to end.

Returns 202 when the request is accepted. The stop is carried out on the contact's device, and the location.sharing.stopped webhook fires once sharing has ended.

Sharing is per contact, so this ends that contact's share in every chat you have with them.

Returns 404 if the contact isn't currently sharing.

delete/v3/chats/{chatId}/location

Request

  • Base URL: https://api.linqapp.com/api/partner
  • URL: https://api.linqapp.com/api/partner/v3/chats/{chatId}/location
  • Auth: HTTP bearer

Path parameters

chatIdstring uuid required

The chat whose inbound location share should be ended

Request body

handlestring required

Phone number (E.164 format) or email address of the contact whose share to end

Example request

{
  "handle": "+15551234567"
}

Response

Stop accepted and sent to the device

successboolean required
messagestring required

Example response

{
  "success": true,
  "message": "Location sharing stop requested"
}

Changes

No recorded changes to this operation across all 1 revision of this API.