v1

latestOpenAPI 3.0.12026-07-243686491.1 MB
Deeplinks

Patch an existing deeplink

Required scope: deeplinks:write </br>Organization authorization: supported

patch/api/v1/deeplinks/{deeplinkId}

Path parameters

deeplinkIdinteger required

Request body

destinationType'link' | 'resource'
commentstring nullable

Optional comment related to the deeplink

Example request

{
  "destination": {
    "url": "https://example.com"
  },
  "comment": "This deeplink is used for redirecting users to the main location page."
}

Response

Deeplink updated

idinteger

Unique identifier of the deeplink

destinationType'link' | 'resource' required
commentstring nullable

Optional comment for the deeplink

visitsinteger

Number of visits to this deeplink

operatorIdinteger

ID of the operator who created the deeplink

qrCodeUrlstring nullable

URL to the QR code image

appUrlstring nullable

Optional URL for the mobile app

createdAtstring required

Creation timestamp

updatedAtstring required

Last update timestamp

deletedAtstring nullable

Deletion timestamp, if deleted

Example response

{
  "id": 1,
  "destination": {
    "url": "https://example.com"
  },
  "comment": "Marketing campaign link",
  "visits": 42,
  "operatorId": 123,
  "qrCodeUrl": "https://example.com/qr/abc123",
  "appUrl": "monta://deeplink/abc123",
  "createdAt": "2024-01-01T12:00:00Z",
  "updatedAt": "2024-01-01T12:00:00Z",
  "deletedAt": "2024-01-01T12:00:00Z"
}