How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Dub Links API

The Links API from Dub — 6 operation(s) for links.

Dub Links API is one of 18 APIs that Dub publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Links. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 1 JSON Schema.

This API exposes 10 operations across 6 paths, and defines 4 schemas. It is described by OpenAPI 3.2.0, at version 0.0.1.

Requests are made against a single base URL, https://api.dub.co.

10 operations 6 paths 4 schemas 2 DELETE3 GET2 PATCH2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.0.1
Base URL
https://api.dub.co
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Dub Links API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (token).

  • token — Default authentication mechanism

Paths & Operations 10

Across 6 paths, the API surfaces 10 operations — 2 DELETE, 3 GET, 2 PATCH, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Links 10
POST
/links
Create a link
createLink body → 200400401403404409410422
GET
/links
List all links
getLinks 14 params → 200400401403404409410422
GET
/links/count
Retrieve links count
getLinksCount 11 params → 200400401403404409410422
GET
/links/info
Retrieve a link
getLinkInfo 4 params → 200400401403404409410422
PATCH
/links/{linkId}
Update a link
updateLink 1 param body → 200400401403404409410422
DELETE
/links/{linkId}
Delete a link
deleteLink 1 param → 200400401403404409410422
POST
/links/bulk
Bulk create links
bulkCreateLinks body → 200400401403404409410422
PATCH
/links/bulk
Bulk update links
bulkUpdateLinks body → 200400401403404409410422
DELETE
/links/bulk
Bulk delete links
bulkDeleteLinks 1 param → 200400401403404409410422
PUT
/links/upsert
Upsert a link
upsertLink body → 200400401403404409410422

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are LinkSchema (51 properties), LinkTagSchemaOutput (3 properties), LinkErrorSchema (3 properties). Each schema is shown below with its type and property counts.

linkGeoTargeting
objectnull
Geo targeting information for the short link in JSON format {[COUNTRY]: https://example.com }. See https://d.to/geo for more information.
LinkErrorSchema
object
3 properties 3 required
LinkTagSchemaOutput
object
3 properties 3 required
LinkSchema
object
51 properties 48 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

dub-links-api-openapi.yml Raw ↑

Other APIs Dub publishes across the network.

Dub Analytics API
Dub Partners API
Dub Domains API
Dub Analytics API
Dub Bounties API
Dub Commissions API
Dub Customers API
Dub Domains API
Dub Embed Tokens API
Dub Events API
Dub Folders API
Dub Partner Applications API
Where this information came from

This is an independent, third-party profile of Dub Links API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.