Skip to main content

Overview

The affiliate tools allow you to manage your affiliate users through natural language commands. All tools support both Markdown and JSON response formats.

Available Tools


affonso_list_affiliates

List and search affiliates with powerful filtering options.

Parameters

number
default:"1"
Page number for pagination
number
default:"50"
Number of results per page (max 100)
Search by name, email, or tracking ID
string
Filter by partnership status: APPROVED, PENDING, REJECTED
string
default:"createdAt"
Sort field: createdAt, name, email
string
default:"desc"
Sort order: asc or desc
string
default:"markdown"
Response format: markdown or json

Example Prompts

Response


affonso_get_affiliate

Retrieve detailed information about a specific affiliate.

Parameters

string
required
The affiliate ID (starts with aff_)
array
Include related data: promoCodes, commissionOverrides, invoiceDetails, payoutMethod, onboardingResponses
string
default:"markdown"
Response format: markdown or json

Example Prompts

Response


affonso_create_affiliate

Create a new affiliate in your program.

Parameters

string
required
Affiliate’s email address
string
Affiliate’s display name
string
Custom tracking ID (auto-generated if not provided)
string
default:"PENDING"
Initial partnership status: APPROVED, PENDING
string
default:"markdown"
Response format: markdown or json

Example Prompts

Response


affonso_update_affiliate

Update an existing affiliate’s information.

Parameters

string
required
The affiliate ID to update
string
New display name
string
New email address
string
New partnership status: APPROVED, PENDING, REJECTED
string
default:"markdown"
Response format: markdown or json

Example Prompts

Response


affonso_delete_affiliate

This is a destructive operation. The affiliate and all their data will be permanently deleted.

Parameters

string
required
The affiliate ID to delete
string
default:"markdown"
Response format: markdown or json

Example Prompts

Response


Error Handling

Common errors you may encounter: