Documentation Index
Fetch the complete documentation index at: https://docs.elasticfunnels.io/llms.txt
Use this file to discover all available pages before exploring further.
Affiliate endpoints sit under
/api/brands/{brand}/affiliates/ with moduleAccess:affiliates middleware. Authenticate with EF-Access-Key.List Affiliates
Results per page (1–100, default: 25)
Filter by type:
external or affcenterSearch by name or merchant account ID
newest, oldest, created_at, updated_atcURL
List All Affiliates (Unpaginated)
id, name, type, and merchant for all affiliates — useful for dropdowns.
Quick Access Stats
Organization Affiliates Options
Search affiliates from the organization’s affiliate center — used for linking org affiliates to a brand.Search by name, email, or nickname
Ensure this affiliate is included even if outside the search results
Get Affiliate
Create Affiliate
Affiliate display name (max 255)
active, disabled, blacklisted, pending, pending_email, or pending_approveAffiliate email. Must be unique per brand.
Phone number (max 255)
external (manually managed) or affcenter (linked to org affiliate center)Commission percentage or fixed amount
percent or fixedLink to a brand merchant integration
Bypass approval requirements
cURL
Update Affiliate
Delete Affiliate
Export Affiliates
Filter conditions (same as list query params)
Limit export to specific affiliate IDs
Columns to include in the export
Payouts
Payouts represent commission payments owed to affiliates for a billing period.List Payouts
Filter by affiliate ID
Filter by status:
pending, approved, paid, rejected, cancelledResults per page (1–100, default: 25)
cURL
Create Payout
Generate a payout for an affiliate based on their conversions in a date range.Affiliate ID to create the payout for
Start date (ISO 8601)
End date (ISO 8601, must be on or after
period_start)cURL
Update Payout Status
approved, rejected, paid, or cancelledRequired when
status is rejected (max 1000 chars)Required when
status is paid (e.g. bank_transfer, paypal)Optional payment reference/transaction ID (max 255)
cURL — mark as paid
Upload Payout Invoice
Invoice PDF file (multipart/form-data)
Notes
type: "affcenter"affiliates are linked to your organization’s affiliate center and require theviewOrganizationAffiliatespermission- Some organization portals require an uploaded invoice before a payout can be marked as
paid - Payout amounts are calculated from the affiliate’s commissions on approved conversions within the period