Links
GET
Newest first. q searches the title, the code and the destination.
Requires the read scope.
bearerheader
AuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
q?stringLength
1 <= length <= 200limit?integerRange
1 <= value <= 100Default
20cursor?stringmulaichat-workspace?stringLimits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.
A page of links.
application/json- response
data*array<>next_cursor*string|nullcurl -X GET 'https://api.mulaichat.com/v1/links'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8", "code": "string", "short_url": "string", "url": "string", "title": "string", "status": "active", "clicks": 0, "unique_visitors": 0, "bot_visits": 0, "last_clicked_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "next_cursor": "string"}Clicks of a short link GET
Clicks per day and the top sources, countries, cities, devices and systems over a period (default: the last 30 days; at most 366). Clicks are kept 12 months. Requires the read scope.
Change a short link PATCH
A new destination applies at once. enabled: false stops the redirect until turned on again. The code cannot change. A link Mulaichat blocked cannot be changed (403 link_blocked). Requires the write scope.