Skip to main content
POST
/
partners
/
applications
/
approve
Python
from dub import Dub


with Dub(
    token="DUB_API_KEY",
) as d_client:

    res = d_client.partner_applications.approve(request={
        "partner_id": "<id>",
    })

    # Handle response
    print(res)
{
  "partnerId": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://dub.co/llms.txt

Use this file to discover all available pages before exploring further.

Partners endpoints require an Advanced plan subscription or higher.

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json
partnerId
string
required

The ID of the partner to approve.

groupId
string | null

The ID of the group to assign the partner to. If not provided, the partner will be assigned to the group they applied to, or the program's default group if no application group is set.

Response

The approved partner

partnerId
string
required

The ID of the approved partner.