Loading...
Loading...
Integrates Dub Links API endpoints to create, update, delete, retrieve, list, count, and run bulk operations on short links. Use when the user asks for "dub links api", "create link dub", "upsert link dub", "list links", "count links", "bulk links", or lookups by linkId/domain+key/externalId.
npx skill4agent add ferminrp/agent-skills dub-links-api/links*https://api.dub.coAuthorization: Bearer <DUB_API_KEY>https://dub.co/docs/api-reference/endpoint/create-a-linkhttps://dub.co/docs/api-reference/tokensreferences/openapi-spec.jsonhttps://dub.co/docs/api-reference/tokensexport DUB_API_KEY="..."curl -s -H "Authorization: Bearer $DUB_API_KEY" "https://api.dub.co/links/count" | jq '.'https://refer.dub.co/agentsPOST /linksurlcurl -s -X POST "https://api.dub.co/links" \
-H "Authorization: Bearer $DUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}' | jq '.'PATCH /links/{linkId}linkIdexternalIdext_curl -s -X PATCH "https://api.dub.co/links/{linkId}" \
-H "Authorization: Bearer $DUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/new"}' | jq '.'PUT /links/upsertcurl -s -X PUT "https://api.dub.co/links/upsert" \
-H "Authorization: Bearer $DUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}' | jq '.'DELETE /links/{linkId}linkIdexternalIdext_{"id": "string"}curl -s -X DELETE "https://api.dub.co/links/{linkId}" \
-H "Authorization: Bearer $DUB_API_KEY" | jq '.'GET /links/infodomain + keylinkIdexternalIdcurl -s "https://api.dub.co/links/info?domain=acme.link&key=promo" \
-H "Authorization: Bearer $DUB_API_KEY" | jq '.'GET /linksdomainsearchtagIdstagNamesfolderIduserIdtenantIdshowArchivedpagepageSizesortBycreatedAtclickssaleAmountlastClickedsortOrderascdesccurl -s "https://api.dub.co/links?page=1&pageSize=100&sortBy=createdAt&sortOrder=desc" \
-H "Authorization: Bearer $DUB_API_KEY" | jq '.'GET /links/countdomainsearchtagIdstagNamesfolderIduserIdtenantIdshowArchivedgroupBydomaintagIduserIdfolderIdcurl -s "https://api.dub.co/links/count?domain=acme.link" \
-H "Authorization: Bearer $DUB_API_KEY" | jq '.'POST /links/bulkurlcurl -s -X POST "https://api.dub.co/links/bulk" \
-H "Authorization: Bearer $DUB_API_KEY" \
-H "Content-Type: application/json" \
-d '[{"url":"https://example.com/a"},{"url":"https://example.com/b"}]' | jq '.'PATCH /links/bulkdatalinkIdsexternalIdscurl -s -X PATCH "https://api.dub.co/links/bulk" \
-H "Authorization: Bearer $DUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"linkIds":["lnk_123","lnk_456"],"data":{"archived":true}}' | jq '.'DELETE /links/bulklinkIds{"deletedCount": number}curl -s -X DELETE "https://api.dub.co/links/bulk?linkIds=lnk_123,lnk_456" \
-H "Authorization: Bearer $DUB_API_KEY" | jq '.'LinkSchemaiddomainkeyshortLinkurlcreatedAtupdatedAtarchivedexternalIdtagsfolderIdGET /linksGET /links/counturllinkIdcurl -sjqidshortLinkurlarchived/links*linkIdGET /links/infoRetry-Afterid | domain | key | shortLink | url | createdAt/tokens/*/tokens/embed/referralsreferences/openapi-spec.json