Linki

Pobierz link z historią kliknięć

Jeden śledzony link wraz z click_log - do 50 ostatnich kliknięć (czas i user_agent; adres IP nie jest zwracany). Wymaga zakresu read.

get/v1/links/{token}

Request

  • Base URL: https://api.przypominamy.com
  • URL: https://api.przypominamy.com/v1/links/{token}
  • Auth: HTTP bearer

Path parameters

tokenstring required

Response

Link

tokenstring

8 znaków, część adresu /l/{token}

short_urlstring uri

Pełny krótki adres; w SMS-ie idzie bez https://, żeby oszczędzić znaki

urlstring uri

Adres docelowy z placeholdera

message_idstring nullable
tostring nullable

Odbiorca, który dostał ten link

clicksinteger
first_click_atstring date-time nullable
last_click_atstring date-time nullable
created_atstring date-time

Example response

{
  "token": "k3Jd9sQz",
  "short_url": "https://api.przypominamy.com/l/k3Jd9sQz",
  "url": "https://firma.pl/wizyta?id=7",
  "message_id": "msg_qY08hZ2mmDXAazdRTytS",
  "to": "+48600100200",
  "clicks": 2
}

Changes

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