Skip to main content
POST
Approve partner

Endpoint

This endpoint is available for affiliate programs only.
Approves a partner who is pending approval, including partners you created through the API. They don’t need to log in or submit the approval form. This works the same way as clicking Approve in the dashboard: the partner.approved webhook is sent. Partners who applied through the approval form also receive the approval email, and partners who signed up through an instant link receive a set-password email if that’s enabled. Partners you created through the API don’t receive an email. The call is safe to retry. Approving a partner who is already approved changes nothing and returns the partner as is.

Path parameters

Request

cURL

Response

Returns the updated partner, in the same format as Get partner.

Behavior

  • Rejected partners can be approved. This reactivates them, as in the dashboard.
  • Suspended partners who are already approved are not unsuspended. The call is a no-op.
  • Partners without an approval request (for example, partners created through the API or who signed up through an instant link) can be approved. The partner.approved webhook is sent for them too, but the approval email isn’t, because there’s no application to respond to. The dashboard behaves the same way.
  • The partner.approved webhook is sent once, when the partner goes from pending to approved. Approving a partner who is already approved doesn’t send it again.

Error responses