Skip to content

Developers · REST API

Create short links from your code.

Add link creation to a publishing workflow, manage brands, or pull click analytics into your reports.

Create a link with curl

Create a personal API token in LinkMngr Developers. Replace YOUR_API_TOKEN in the request with that token.

Send the destination to POST /links. The response contains the shortened link. Use GET /links/{linkId}/stats for its analytics.

For an AI client, see the MCP connection guide.

curl https://api.linkmngr.com/v1/links \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"destination":"https://example.com/spring"}'

OpenAPI reference

Use the YAML file in your API tools or read the endpoint details below.

Download OpenAPI YAML