Paid plans (403 plan_feature_unavailable), up to 3 links on Starter, 5 on Basic, 10 on Pro and 25 on Agency (422 link_limit_reached). alias is Pro and Agency only (403 alias_requires_pro) and unique in any letter case (409 alias_taken). Refused with 422 destination_not_allowed (details.reason says which check): links to other shorteners, mulaichat.com itself or private networks, online gambling, domains on the Komdigi block list, and destinations Google Web Risk suspects of phishing or malware. The same checks run on a new destination and every day on active links, which are blocked when one fails.
Requires the write scope.
bearerAuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
Idempotency-Key?string1-128 characters of [A-Za-z0-9_-]. The same key gives back the same link (200) instead of a new one.
mulaichat-workspace?stringLimits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.
application/json- body
url*stringurilength <= 2048title?stringlength <= 120alias?string^[A-Za-z0-9_-]{3,50}$The link made earlier with this Idempotency-Key.
application/json- response
id*stringuuidprofile_id*stringuuidcode*stringThe part after mulaichat.com/: 6 random characters, or the alias (Pro and Agency).
short_url*stringThe link to share, e.g. https://mulaichat.com/aB3x9K.
url*stringWhere the link leads; can be changed.
title*string|nullstatus*stringblocked: by Mulaichat for breaking the rules.
"active""disabled""blocked"clicks*integerOnce per visitor per link per hour; bots left out.
unique_visitors*integerEach day's distinct visitors, added up.
bot_visits*integerLink previews and crawlers, not counted as clicks.
last_clicked_at*|nullcreated_at*stringdate-timeupdated_at*stringdate-timecurl -X POST 'https://api.mulaichat.com/v1/links' \ -H 'Content-Type: application/json' \ -d '{ "url": "http://example.com"}'{ "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"}