Tapfiliate Programs API
Manage affiliate programs and program affiliates
Operations 11
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“Can I look up the settings of one affiliate program?”
“What details does a single program record include?”
Tell an agent
Get program {program_id}.
Show me affiliate program {program_id}.
Ask an LLM
“Which affiliate programs do I run in Tapfiliate?”
“Can I page through my programs?”
Tell an agent
List all my affiliate programs.
Show page {page} of programs, {limit} per page.
GET
/programs/{program_id}/affiliates/
List affiliates in a program · List all affiliates in program
#
Ask an LLM
“Who is enrolled in a particular affiliate program?”
“Can I page through the members of one program?”
Tell an agent
List the affiliates in program {program_id}.
Show page {page} of program {program_id}'s affiliates, {limit} per page.
POST
/programs/{program_id}/affiliates/
Enroll an affiliate in a program · Add an affiliate to a program
#
Ask an LLM
“How do I add an existing affiliate to another program?”
“Can I enroll an affiliate and pre-approve them at the same time?”
Tell an agent
Add affiliate {affiliate} to program {program_id}.
Enroll {affiliate} in program {program_id} with approved set to {approved}.
GET
/programs/{program_id}/affiliates/{affiliate_id}/
Get an affiliate's program enrollment · Retrieve an affiliate in a program
#
Ask an LLM
“What are an affiliate's coupon and referral link in a given program?”
“Can I see one affiliate's enrollment details for a specific program?”
Tell an agent
Get affiliate {affiliate_id}'s enrollment in program {program_id}.
Show how affiliate {affiliate_id} is set up in program {program_id}.
PATCH
/programs/{program_id}/affiliates/{affiliate_id}/
Update an affiliate's program enrollment · Update an affiliate in a program
#
Ask an LLM
“Can I assign a coupon code to an affiliate within a program?”
“How do I change an affiliate's referral link in one program?”
Tell an agent
Set the coupon for affiliate {affiliate_id} in program {program_id} to {coupon}.
Change affiliate {affiliate_id}'s referral link in program {program_id} to {referral_link}.
PUT
/programs/{program_id}/affiliates/{affiliate_id}/approved/
Approve an affiliate in a program · Approve an affiliate
#
Ask an LLM
“How do I approve an affiliate who applied to my program?”
“Can I accept an affiliate's pending enrollment?”
Tell an agent
Approve affiliate {affiliate_id} in program {program_id}.
Accept affiliate {affiliate_id}'s enrollment in program {program_id}.
DELETE
/programs/{program_id}/affiliates/{affiliate_id}/approved/
Disapprove an affiliate in a program · Disapprove an affiliate
#
Ask an LLM
“Can I reject or revoke an affiliate's place in a program?”
“What does disapproving an affiliate's enrollment do?”
Tell an agent destructive · confirm first
Disapprove affiliate {affiliate_id} in program {program_id}.
Revoke affiliate {affiliate_id}'s approval for program {program_id}.
GET
/programs/{program_id}/commission-types/
List a program's commission types · List program commission types
#
Ask an LLM
“Which commission types are available in a program?”
“What commission structures can I apply to conversions in this program?”
Tell an agent
List commission types for program {program_id}.
Show the commission types defined in program {program_id}.
Ask an LLM
“How many multi-level marketing tiers does a program have?”
“What MLM levels are configured for this program?”
Tell an agent
List the MLM levels of program {program_id}.
Show multi-level commission tiers for program {program_id}.
Ask an LLM
“Which bonus tiers can affiliates earn in a program?”
“Does this program offer any performance bonuses?”
Tell an agent
List bonuses for program {program_id}.
Show the bonus tiers set up in program {program_id}.
Documentation
Documentation
https://tapfiliate.com/docs/rest/
Authentication
https://tapfiliate.com/docs/rest/#authentication