Retrieve a partner's links.
Retrieve a partner's links by their partner ID or tenant ID.
1 min read
get/partners/links
Request example
Response
get/partners/links
Authorization
Query parameters
The ID of the partner to create a link for. Will take precedence over
tenantId if provided.The ID of the partner in your system. If both
partnerId and tenantId are not provided, an error will be thrown.Responses
application/json
The retrieved partner links.
The unique ID of the short link.
The domain of the short link. If not provided, the primary domain for the workspace will be used (or
dub.sh if the workspace has no domains).The short link slug. If not provided, a random 7-character slug will be generated.
The full URL of the short link, including the https protocol (e.g.
https://dub.sh/try).The destination URL of the short link.
The total number of sales (includes recurring sales) generated by the short link.
Default: 0
The total dollar value of sales (in cents) generated by the short link.
Default: 0