Tapfiliate Affiliates API
Manage affiliates, their groups, notes, and payout methods
Operations 24
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 pull up one affiliate's profile by their ID?”
“What details does Tapfiliate keep on a single affiliate?”
Tell an agent
Get affiliate {affiliate_id}.
Show me the profile of affiliate {affiliate_id}.
Ask an LLM
“How do I permanently delete an affiliate from my account?”
“Can I remove an affiliate record entirely?”
Tell an agent destructive · confirm first
Delete affiliate {affiliate_id}.
Remove affiliate {affiliate_id} and their record.
Ask an LLM
“Which affiliates belong to a particular affiliate group?”
“Can I find an affiliate by their email address?”
Tell an agent
List all my affiliates.
Find the affiliate with email {email}.
Ask an LLM
“How do I sign up a new affiliate directly through the API?”
“What do I need to provide to create an affiliate?”
Tell an agent
Create an affiliate named {firstname} {lastname} with email {email}.
Add {email} as a new affiliate, {firstname} {lastname}, with metadata {meta_data}.
Ask an LLM
“Can I move an affiliate into one of my affiliate groups?”
“What's the way to put an affiliate in a group?”
Tell an agent
Put affiliate {affiliate_id} in group {group}.
Assign affiliate {affiliate_id} to affiliate group {group}.
DELETE
/affiliates/{affiliate_id}/group/
Remove an affiliate from their group · Remove affiliate group
#
Ask an LLM
“Can I take an affiliate out of their group without deleting them?”
“What happens to an affiliate's group assignment if I clear it?”
Tell an agent destructive · confirm first
Remove affiliate {affiliate_id} from their group.
Clear the group assignment for affiliate {affiliate_id}.
Ask an LLM
“Can I edit the text of a note I already added to an affiliate?”
“Is it possible to correct an existing affiliate note?”
Tell an agent
Change note {id} on affiliate {affiliate_id} to say {note}.
Update existing note {id} for affiliate {affiliate_id}.
Ask an LLM
“Can I delete a note I left on an affiliate?”
“How do I get rid of an outdated affiliate note?”
Tell an agent destructive · confirm first
Delete note {id} from affiliate {affiliate_id}.
Remove note {id} on affiliate {affiliate_id}.
Ask an LLM
“What notes have been written about a given affiliate?”
“Can I read every internal note kept on one affiliate?”
Tell an agent
List notes for affiliate {affiliate_id}.
Show all the notes on affiliate {affiliate_id}.
Ask an LLM
“How do I leave an internal note on an affiliate's record?”
“Can I attach a new comment to an affiliate?”
Tell an agent
Add a note to affiliate {affiliate_id}: {note}.
Write a new note {note} on affiliate {affiliate_id}.
GET
/affiliates/{affiliate_id}/meta-data/
Get all metadata for an affiliate · Retrieve meta data for an Affiliate
#
Ask an LLM
“What custom metadata is stored on an affiliate?”
“Can I fetch every metadata key and value for one affiliate at once?”
Tell an agent
Get all metadata for affiliate {affiliate_id}.
Show the full metadata set on affiliate {affiliate_id}.
PUT
/affiliates/{affiliate_id}/meta-data/
Replace an affiliate's metadata · Update (replace) meta data for an Affiliate
#
Ask an LLM
“Can I overwrite an affiliate's entire metadata object in one call?”
“What happens to existing affiliate metadata keys when I replace it all?”
Tell an agent
Replace all metadata on affiliate {affiliate_id}.
Overwrite the whole metadata set for affiliate {affiliate_id}.
GET
/affiliates/{affiliate_id}/meta-data/{key}/
Get one metadata key for an affiliate · Retrieve meta data by key for an Affiliate
#
Ask an LLM
“Can I read a single metadata value on an affiliate by its key?”
“What value does an affiliate have for a specific metadata key?”
Tell an agent
Get metadata key {key} for affiliate {affiliate_id}.
Show affiliate {affiliate_id}'s {key} metadata value.
PUT
/affiliates/{affiliate_id}/meta-data/{key}/
Set one metadata key on an affiliate · Set meta data by key for an Affiliate
#
Ask an LLM
“Can I set just one metadata key on an affiliate without touching the others?”
“Is there a way to update a single affiliate metadata field?”
Tell an agent
Set metadata key {key} on affiliate {affiliate_id}.
Update only the {key} metadata field for affiliate {affiliate_id}.
DELETE
/affiliates/{affiliate_id}/meta-data/{key}/
Delete one metadata key from an affiliate · Delete meta data by key for an Affiliate
#
Ask an LLM
“Can I remove a single metadata key from an affiliate?”
“How do I drop one custom metadata field from an affiliate?”
Tell an agent destructive · confirm first
Delete metadata key {key} from affiliate {affiliate_id}.
Remove the {key} metadata entry on affiliate {affiliate_id}.
GET
/affiliates/{affiliate_id}/payout-methods/{payout_method_id}/
Get an affiliate's payout method · Get payout method
#
Ask an LLM
“Can I see the details of one specific payout method an affiliate has?”
“Which payout account details are stored for a given method?”
Tell an agent
Get payout method {payout_method_id} for affiliate {affiliate_id}.
Show affiliate {affiliate_id}'s payout method {payout_method_id}.
PUT
/affiliates/{affiliate_id}/payout-methods/{payout_method_id}/
Set an affiliate's payout method · Set payout method
#
Ask an LLM
“Can I set an affiliate to be paid by PayPal or wire transfer?”
“How do I update the payout details for an affiliate?”
Tell an agent
Set payout method {payout_method_id} for affiliate {affiliate_id} to type {type}.
Update payout method {payout_method_id} on affiliate {affiliate_id} with details {details}.
GET
/affiliates/{affiliate_id}/payout-methods/
List an affiliate's payout methods · List payout methods
#
Ask an LLM
“Which payout methods has an affiliate configured?”
“Does this affiliate have any way set up to receive payouts?”
Tell an agent
List payout methods for affiliate {affiliate_id}.
Show every payout option affiliate {affiliate_id} has.
Ask an LLM
“How do I put an affiliate under another affiliate in a multi-level setup?”
“Can I make one affiliate the recruiter or upline of another?”
Tell an agent
Make {parent} the parent of affiliate {child_affiliate_id}.
Set the MLM parent of affiliate {child_affiliate_id} to {parent}.
Ask an LLM
“Can I detach an affiliate from their upline parent?”
“What do I do to take an affiliate out of a multi-level hierarchy?”
Tell an agent destructive · confirm first
Remove the parent from affiliate {child_affiliate_id}.
Detach affiliate {child_affiliate_id} from their MLM parent.
GET
/affiliates/{affiliate_id}/balances/
Get an affiliate's balances · Retrieve affiliate's balances
#
Ask an LLM
“How much is owed to one particular affiliate right now?”
“Can I see an affiliate's balance in each currency?”
Tell an agent
Get the balances for affiliate {affiliate_id}.
Show what we owe affiliate {affiliate_id} per currency.
GET
/affiliates/{affiliate_id}/payments/
List payments made to an affiliate · List affiliate's payments
#
Ask an LLM
“What payouts has a specific affiliate received?”
“Can I page through one affiliate's payment history?”
Tell an agent
List payments made to affiliate {affiliate_id}.
Show page {page} of payouts for affiliate {affiliate_id}, {limit} per page.
Ask an LLM
“Which affiliate programs is a given affiliate enrolled in?”
“Is this affiliate part of more than one program?”
Tell an agent
List the programs affiliate {id} belongs to.
Show every program enrollment for affiliate {id}.
Ask an LLM
“What custom fields have I defined for affiliate signups?”
“Which extra profile fields do my affiliates fill in?”
Tell an agent
Get the affiliate custom field definitions.
Show me the custom fields configured for affiliates.
Documentation
📖
Documentation
https://tapfiliate.com/docs/rest/
📖
Authentication
https://tapfiliate.com/docs/rest/#authentication