Links

Create a link

post/links

Request

  • Base URL: https://fixed.link/api/v1
  • URL: https://fixed.link/api/v1/links
  • Auth: HTTP bearer

Request body

destinationstring required

Target URL. https:// is added if omitted.

slugstring

Custom short path. Generated when omitted.

domainIdstring nullable

Custom domain to publish on. Requires a plan with custom domains.

tagsstring[]
category'marketing' | 'product' | 'documentation' | 'engineering' | 'content' | 'media' | 'social' | 'commerce' | 'events' | 'support' | 'internal' | 'other' nullable

Filed under one of the fixed categories. Left off, AI fills it in.

monitorboolean

Watch the destination and email when it stops answering. Ignored on a plan without link health checks.

Response

The created link

idstring required
slugstring required
destinationstring uri required
shortUrlstring uri required
status'active' | 'paused' | 'deleted' required
state'active' | 'scheduled' | 'expired' | 'paused' | 'deleted' required
clicksinteger required
tagsstring[] required
category'marketing' | 'product' | 'documentation' | 'engineering' | 'content' | 'media' | 'social' | 'commerce' | 'events' | 'support' | 'internal' | 'other' nullable required

One coarse subject from a fixed list. Null when nothing has filed it.

createdAtstring date-time required
updatedAtstring date-time required

Example response

{
  "id": "clx1234567890",
  "slug": "spring-sale",
  "destination": "https://acme.com/promotions/spring",
  "shortUrl": "https://fixedl.ink/spring-sale"
}

Changes

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