Authorizations
Default authentication mechanism
Body
The partner's email address. Partners will be able to claim their profile by signing up at partners.dub.co
with this email.
1 - 190
The partner's full name. If undefined, the partner's email will be used in lieu of their name (e.g. john@acme.com
)
100
The partner's unique username in your system (max 100 characters). This will be used to create a short link for the partner using your program's default domain. If not provided, Dub will try to generate a username from the partner's name or email.
100
The partner's avatar image. If not provided, a default avatar will be used.
The partner's unique ID in your system. Useful for retrieving the partner's links and stats later on. If not provided, the partner will be created as a standalone partner.
The group ID to add the partner to. If not provided, the partner will be added to the default group.
The partner's country of residence. Must be passed as a 2-letter ISO 3166-1 country code. See https://d.to/geo for more information.
A brief description of the partner and their background. Max 5,000 characters.
5000
Additional properties that you can pass to the partner's short link. Will be used to override the default link properties for this partner.
Response
The created partner
The partner's unique ID on Dub.
The partner's full legal name.
190
The partner's email address. Should be a unique value across Dub.
190
The partner's avatar image.
The partner's country (required for tax purposes).
The partner's PayPal email (for receiving payouts via PayPal).
The partner's Stripe Connect ID (for receiving payouts via Stripe).
The date when the partner enabled payouts.
The program's unique ID on Dub.
The partner's unique ID on Dub.
The partner's unique ID within your database. Can be useful for associating the partner with a user in your database and retrieving/update their data in the future.
The status of the partner's enrollment in the program.
pending
, approved
, rejected
, invited
, declined
, banned
, archived
The partner's referral links in this program.
The total commissions paid to the partner for their referrals. Defaults to 0 if includeExpandedFields
is false.
The total number of clicks on the partner's links. Defaults to 0 if includeExpandedFields
is false.
The total number of leads generated by the partner's links. Defaults to 0 if includeExpandedFields
is false.
The total number of leads that converted to paying customers. Defaults to 0 if includeExpandedFields
is false.
The total number of sales generated by the partner's links (includes recurring sales). Defaults to 0 if includeExpandedFields
is false.
The total amount of sales (in cents) generated by the partner's links. Defaults to 0 if includeExpandedFields
is false.
The total net revenue generated by the partner. Defaults to 0 if includeExpandedFields
is false.
A brief description of the partner and their background.
5000
The partner's group ID on Dub.
If the partner submitted an application to join the program, this is the ID of the application.
If the partner was banned from the program, this is the date of the ban.
If the partner was banned from the program, this is the reason for the ban.
tos_violation
, inappropriate_content
, fake_traffic
, fraud
, spam
, brand_abuse
The partner's website URL (including the https protocol).
The partner's YouTube channel username (e.g. johndoe
).
The partner's Twitter username (e.g. johndoe
).
The partner's LinkedIn username (e.g. johndoe
).
The partner's Instagram username (e.g. johndoe
).
The partner's TikTok username (e.g. johndoe
).