Integrations

Post Affiliate Pro

28 actions for Post Affiliate Pro.

Chargeback Transaction#

Process a chargeback for a transaction in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapChargebackTransaction

Inputs#

FieldTypeRequiredDefaultWhat it does
Transaction IDTextNo(empty)The ID of the transaction to chargeback.
FeeTextNo(empty)Chargeback fee amount.
NoteTextNo(empty)Note for the chargeback.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_chargeback_transaction

Process a chargeback for a transaction

Create Affiliate#

Create a new affiliate account in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapCreateAffiliate

Inputs#

FieldTypeRequiredDefaultWhat it does
UsernameTextNo(empty)Username for the new affiliate account.
Full NameTextNo(empty)Full name of the affiliate.
PasswordTextNo(empty)Password for the new affiliate account.
Notification EmailTextNo(empty)Email address for affiliate notifications.
Referral IDTextNo(empty)Referral ID for the affiliate.
Parent IDTextNo(empty)Parent affiliate ID for multi-tier setups.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_create_affiliate

Create a new affiliate account

Create Recurring Commission#

Create a recurring commission for an order in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapCreateRecurringCommission

Inputs#

FieldTypeRequiredDefaultWhat it does
Order IDTextNo(empty)The order ID for the recurring commission.
Total CostTextNo0Recurring transaction amount.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_create_recurring_commission

Create a recurring commission for an order

Create Transaction#

Create a new transaction in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapCreateTransaction

Inputs#

FieldTypeRequiredDefaultWhat it does
Order IDTextNo(empty)The order ID for the transaction.
Affiliate IDTextNo(empty)The affiliate ID for the transaction.
Campaign IDTextNo(empty)The campaign ID for the transaction.
Total CostTextNo0Total cost of the transaction.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_create_transaction

Create a new transaction/sale in PostAffiliatePro

Delete Affiliate#

Delete an affiliate account in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapDeleteAffiliate

Inputs#

FieldTypeRequiredDefaultWhat it does
Affiliate IDTextNo(empty)The ID of the affiliate to delete.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_delete_affiliate

Delete an affiliate account

Get Affiliate Details#

Get detailed information about a specific affiliate in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapGetAffiliateDetails

Inputs#

FieldTypeRequiredDefaultWhat it does
Affiliate IDTextNo(empty)The ID of the affiliate to retrieve.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_get_affiliate_details

Get detailed information about a specific affiliate

Get the general tracking link for an affiliate in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapGetAffiliateGeneralLink

Inputs#

FieldTypeRequiredDefaultWhat it does
Affiliate IDTextNo(empty)The ID of the affiliate to get the general link for.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_get_affiliate_general_link

Get the general/default tracking link for an affiliate

Get Affiliate Performance#

Get affiliate performance metrics from PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapGetAffiliatePerformance

Inputs#

FieldTypeRequiredDefaultWhat it does
Affiliate IDTextNo(empty)Filter performance metrics by affiliate ID.
Date FromTextNo(empty)Start date for the performance period.
Date ToTextNo(empty)End date for the performance period.
LimitNumberNo100Maximum number of results to return (default: 100).
OffsetNumberNo0Number of results to skip (default: 0).

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_get_affiliate_performance

Get affiliate performance metrics and statistics

Get Banner Details#

Get detailed information about a specific banner in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapGetBannerDetails

Inputs#

FieldTypeRequiredDefaultWhat it does
Banner IDTextNo(empty)The ID of the banner to retrieve.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_get_banner_details

Get detailed information about a specific banner

Get Campaign Details#

Get detailed information about a specific campaign in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapGetCampaignDetails

Inputs#

FieldTypeRequiredDefaultWhat it does
Campaign IDTextNo(empty)The ID of the campaign to retrieve.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_get_campaign_details

Get detailed information about a specific campaign

Get Form Fields#

Get affiliate form field definitions from PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapGetFormFields

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_get_form_fields

Get affiliate form field definitions to understand what data1-data25 fields represent

Get Settings#

Get system settings from PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapGetSettings

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_get_settings

Get PostAffiliatePro system settings

Get Top Affiliates#

Get top performing affiliates report from PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapGetTopAffiliates

Inputs#

FieldTypeRequiredDefaultWhat it does
Period FromTextNo(empty)Start date for the report period.
Period ToTextNo(empty)End date for the report period.
PeriodTextNononePredefined period for the report. Options: today, yesterday, this_week, last_week, last_working_week, this_month, last_month, this_year, last_year, this_quarter, last_quarter, last_7_days and 4 more
LimitNumberNo10Maximum number of top affiliates to return (default: 10).
Sort ByTextNo(empty)Sort results by specified field. for example: ‘created_at’, ‘-created_at’, ’name’, etc.
Affiliate IDTextNo(empty)Filter by specific affiliate ID.
UsernameTextNo(empty)Filter by affiliate username.
First NameTextNo(empty)Filter by affiliate first name.
Last NameTextNo(empty)Filter by affiliate last name.
StatusTextNononeFilter by affiliate status. Options: approved, pending, declined, none
Created AtTextNo(empty)Filter by creation date.
Transaction StatusTextNo—Only count transactions in these statuses towards each affiliate’s totals. Select none to count all. Options: approved, pending, declined
Campaign IDTextNo(empty)Filter transactions by campaign ID.
Banner IDTextNo(empty)Filter transactions by banner ID.
FieldsTextNoid, affiliate_first_name, affiliate_last_name, …Comma-separated list of fields to include in the report. Options: id, affiliate_first_name, affiliate_last_name, affiliate_status, created_at, count, totalcost, commission, sales_count, sales_totalcost, sales_commission, avg_amount_of_order and 24 more

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_get_top_affiliates

Get top performing affiliates report with ranking by various metrics

Get Traffic Overview#

Get traffic overview with analytics data from PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapGetTrafficOverview

Inputs#

FieldTypeRequiredDefaultWhat it does
PeriodTextNononePredefined period for the traffic overview. Options: today, yesterday, this_week, last_week, last_working_week, this_month, last_month, this_year, last_year, this_quarter, last_quarter, last_7_days and 4 more
Period FromTextNo(empty)Start date for the traffic overview period (YYYY-MM-DD).
Period ToTextNo(empty)End date for the traffic overview period (YYYY-MM-DD).
Affiliate IDTextNo(empty)Filter traffic overview by affiliate ID.
Campaign IDTextNo(empty)Filter traffic overview by campaign ID.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_get_traffic_overview

Get traffic overview with analytics data including clicks, transactions, and conversion rates. Use either ‘period’ (predefined shortcut such as ‘yesterday’ or ’last_7_days’) or the ‘period_from’ + ‘period_to’ date pair to scope the report - the legacy ‘date_from’ / ‘date_to’ params are not accepted by PostAffiliatePro and cause it to fall back to this-month.

Get Transaction Details#

Get detailed information about a specific transaction in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapGetTransactionDetails

Inputs#

FieldTypeRequiredDefaultWhat it does
Transaction IDTextNo(empty)The ID of the transaction to retrieve.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_get_transaction_details

Get detailed information about a specific transaction

Get Transaction Reports#

Get detailed transaction reports from PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapGetTransactionReports

Inputs#

FieldTypeRequiredDefaultWhat it does
Report TypeTextNosummaryType of transaction report to generate.
Date FromTextNo(empty)Start date for the report period.
Date ToTextNo(empty)End date for the report period.
Group ByTextNo(empty)Field to group the report results by.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_get_transaction_reports

Get detailed transaction reports with grouping and analytics

Get User Info#

Get current API user information from PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapGetUserInfo

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_get_user_info

Get current API user information

List Affiliates#

List and search affiliates in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapListAffiliates

Inputs#

FieldTypeRequiredDefaultWhat it does
Search QueryTextNo(empty)Search query to filter affiliates.
SortTextNo(empty)Sort order for the results.
Per PageNumberNo20Number of affiliates to return per page.
FieldsTextNo(empty)Comma-separated list of fields to include in the response (e.g. ‘first_name,last_name,notification_email,login_count’). Leave empty for the API’s default field set.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_list_affiliates

List and search affiliates in the system

List Banners#

List marketing banners in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapListBanners

Inputs#

FieldTypeRequiredDefaultWhat it does
Search QueryTextNo(empty)Field-specific search query.
SortTextNo(empty)Sort field.
Per PageNumberNo20Results per page (1-100).

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_list_banners

List marketing banners available in campaigns

List Campaigns#

List and search campaigns in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapListCampaigns

Inputs#

FieldTypeRequiredDefaultWhat it does
Search QueryTextNo(empty)Field-specific search query.
SortTextNo(empty)Sort field.
Per PageNumberNo20Results per page (1-100).

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_list_campaigns

List and search affiliate marketing campaigns

List Clicks#

List and search clicks tracked by PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapListClicks

Inputs#

FieldTypeRequiredDefaultWhat it does
Search QueryTextNo(empty)Field-specific search query using field:value format. Searchable fields: type (raw/unique), affiliate_id, campaign_id, banner_id, country_code, referrer_url, ip, datetime. Example: ’type:unique affiliate_id:A123 datetime:>2024-01-01’.
SortTextNo(empty)Sort field (e.g. ‘datetime’, ‘-datetime’ for descending).
Per PageNumberNo20Results per page (1-100).
Last IDTextNo(empty)Pagination cursor for ID-based pagination (from previous response).
Last ValueTextNo(empty)Pagination cursor for value-based pagination (from previous response).
FieldsTextNo(empty)Comma-separated list of fields to include in the response. Available: id, affiliate_id, banner_id, campaign_id, country_code, type, created_at, visitor_id, ip, channel_id, data1, data2, affiliate_username, affiliate_first_name, affiliate_last_name, banner_name, campaign_name, channel_name, channel_code, referrer_url, destination_url, user_agent. Leave empty for the API’s default field set.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_list_clicks

List and search clicks tracked by PostAffiliatePro

List direct links in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapListDirectLinks

Inputs#

FieldTypeRequiredDefaultWhat it does
Search QueryTextNo(empty)Field-specific search query.
SortTextNo(empty)Sort field.
Per PageNumberNo20Results per page (1-100).

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_list_direct_links

List direct/deep links for affiliates

Refund by Order#

Process a refund for all transactions with a specific order ID in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapRefundByOrder

Inputs#

FieldTypeRequiredDefaultWhat it does
Order IDTextNo(empty)The order ID to refund all transactions for.
FeeTextNo(empty)Refund fee amount.
NoteTextNo(empty)Note for the refund.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_refund_by_order

Process a refund for all transactions with a specific order ID

Refund Transaction#

Process a refund for a transaction in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapRefundTransaction

Inputs#

FieldTypeRequiredDefaultWhat it does
Transaction IDTextNo(empty)The ID of the transaction to refund.
FeeTextNo(empty)Refund fee amount.
NoteTextNo(empty)Note for the refund.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_refund_transaction

Process a refund for a transaction

Search Transactions#

Search and filter transactions in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapSearchTransactions

Inputs#

FieldTypeRequiredDefaultWhat it does
Search QueryTextNo(empty)Search query to filter transactions.
PeriodTextNo(empty)Time period filter for transactions.
Created At FromTextNo(empty)Filter transactions created from this date.
Created At ToTextNo(empty)Filter transactions created up to this date.
SortTextNo(empty)Sort order for the results.
Per PageNumberNo20Number of transactions per page (default: 20).
Last IDTextNo(empty)Pagination cursor. Copy the last_id value from the pagination object of the previous response. Leave empty for the first page.
Last ValueTextNo(empty)Pagination cursor. Copy the last_value value from the pagination object of the previous response. Used together with last_id. Leave empty for the first page.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_search_transactions

Search and filter transactions with advanced options

Update Affiliate#

Update an affiliate’s information in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapUpdateAffiliate

Inputs#

FieldTypeRequiredDefaultWhat it does
Affiliate IDTextNo(empty)The ID of the affiliate to update.
Update DataTextNo{}JSON object with fields to update.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_update_affiliate

Update an affiliate’s information

Update Transaction#

Update a transaction’s information in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapUpdateTransaction

Inputs#

FieldTypeRequiredDefaultWhat it does
Transaction IDTextNo(empty)The ID of the transaction to update.
Update DataTextNo{}JSON object with fields to update.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_update_transaction

Update a transaction’s information

Update Transaction Status#

Update a transaction’s status in PostAffiliatePro.

Plans: Trial, Starter, Pro, Premium, Enterprise · Type: PapUpdateTransactionStatus

Inputs#

FieldTypeRequiredDefaultWhat it does
Transaction IDTextNo(empty)The ID of the transaction to update.
StatusTextNo(empty)New status (approved, declined, pending).
ReasonTextNo(empty)Reason for the status change.

Outputs#

OutputType
DataObject

Use as an agent tool#

Tool name: pap_update_transaction_status

Update transaction status (approve, decline, pending)