Divsly API Documentation

The Divsly API gives developers powerful access to our platform’s suite of tools — from link shortening and branded domains to dynamic QR codes, user management, and Link in Bio pages. Whether you’re building automated campaigns, dashboards, or integrations, our RESTful endpoints help you move fast and stay flexible.

Key features covered by the API

  • Short Links: Programmatically create, edit, and manage short links using custom slugs and domains.
  • QR Codes: Instantly generate dynamic and static QR codes for your URLs with full customization.
  • Link in Bio Pages: Create and update mobile-friendly micro pages with links, text, and social icons.
  • Custom Branded Domains (CBDs): Assign and manage branded domains for your short links.
  • User Management: Add, remove, or update team users and set permissions via API.
  • Analytics: Get click metrics, device data, referral insights, and more for your links and QR codes.

Getting started

  • API Token: Head over to your API Settings page and generate your access token.
  • Authorization: Include your token in the request header like this:
    Authorization: Bearer {your_api_token}

Sample API Request: Shorten a Link

Use the POST method at the following endpoint:

POST https://api.divsly.com/api/v1/short-link

Sample JSON payload:

{
  "destinationUrl": "https://example.com/landing-page",
  "brandedDomain": "kut.lt",
  "slashTag": "launch-campaign"
}

A successful response will return the short link and tracking data.

Explore More

Dive deeper into our API capabilities, see authentication flows, advanced configurations, error handling, and pagination details in the full API Reference.