Endpoints for creating and managing campaigns. A campaign represents a distribution of funds to multiple beneficiaries.
Talli Campaign Manager API (v2)
The Talli Campaign Manager API provides programmatic access to create and manage payout campaigns, payout instructions, and reports. This API powers the Talli console interface and can be integrated with third-party systems to automate workflows.
- Campaigns: Create and manage fund distribution campaigns.
- Campaign drafts: Create and manage campaign drafts.
- Payout Instructions: Send and track payments to beneficiaries.
- Payout Methods: View available payment methods (PayPal, ACH, gift cards, etc.).
- Payouts: Details about selected payout
- Gift Cards: View details of a gift card requested by the beneficiary
- Prepaid Cards: View details of a prepaid card requested by the beneficiary
- Transfers: View details of Paypal, Venmo or ACH transfer requested by the beneficiary
- Reports: Access analytics and statistics about campaign performance.
- Funds holders: Create and manage funds holders.
- Templates: Create and manage templates.
- Users: View members of your organization
- Roles: View roles that can be assigned to members of your organization
- Invitation: Create and manage invitations to your organization
- Bank Accounts: Create and manage bank accounts.
Request
Retrieves a paginated list of payout instructions, optionally filtered by campaign id, status, external id, or email. A payout instruction represents an intention to pay a specific amount of money to a beneficiary and is associated with exactly one campaign.
- Mock serverhttps://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions?campaignId=497f6eca-6276-4993-bfeb-53cbbbba6f08&status=Draft&externalId=string&email=string&pageNumber=0&pageSize=0' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "pageNumber": 0, "pageSize": 0, "totalPages": 0, "totalItems": 0, "data": [ { … } ] }
Request
Creates a new payout instruction with the specified campaign and recipient details. Note that creating a payout instruction does not automatically send it to the beneficiary or allocate funds; it only records the intention to pay. The payout instruction must be explicitly initiated in a separate step to notify the beneficiary.
An external identifier for this payout instruction, used for integration with client systems.
- Mock serverhttps://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",
"externalId": "string",
"firstName": "string",
"lastName": "string",
"amount": 0.1,
"email": "string",
"phoneNumber": "string"
}'- Mock serverhttps://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
The phone number of the beneficiary. May be required for certain payout methods.
The identifier of the payout method selected by the beneficiary, if any.
The redemption date for this payout instruction if in fulfilled status
An external identifier for this payout instruction, used for integration with client systems.
{ "payoutInstructionId": "50bfd130-22aa-4d88-8f54-fdfd65edbebb", "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "amount": 0.1, "firstName": "string", "lastName": "string", "email": "string", "phoneNumber": "string", "status": "Draft", "cancellationReason": "Unknown", "selectedPayoutMethodId": "16383abb-1273-48c1-bb89-96e94b64474f", "fulfilledOn": "2019-08-24T14:15:22Z", "externalId": "string", "nextReminderDate": "2019-08-24T14:15:22Z" }
Request
Patches an existing payout instruction with the provided data. Note: This operation might be pefrormed only for payout instructions that have not been redeemed or requested. Note2: If the email is changed then the previous links get invalidated and the payout instruction moves back to Restored status.
- Mock serverhttps://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"operations": [
{
"op": "Unknown",
"value": {
"options": {
"propertyNameCaseInsensitive": true
},
"parent": {},
"root": {}
}
}
]
}'- Mock serverhttps://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/activity
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/activity' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'[ { "messageId": "8540d774-4863-4d2b-b788-4ecb19412e85", "messageType": "string", "timestamp": "2019-08-24T14:15:22Z", "type": "string", "description": "string", "details": { … } } ]
Request
Retrieves the payout details for a specific payout instruction. A payout is created when a beneficiary acts on a payout instruction and selects a specific payout method to receive their funds. The payout contains additional details specific to the chosen method, such as gift card identifiers or transaction references.
- Mock serverhttps://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/payout
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/payout' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
The unique identifier of the payout instruction associated with this payout.
The date and time when the payout was requested by the beneficiary.
{ "payoutInstructionId": "50bfd130-22aa-4d88-8f54-fdfd65edbebb", "payoutMethodId": "fff005d3-ebdd-48cc-8c82-62336a6c32d0", "status": "Draft", "requestedOn": "2019-08-24T14:15:22Z", "completedOn": "2019-08-24T14:15:22Z", "externalIdentifiers": { "property1": "string", "property2": "string" } }
Request
Initiates the payout process for a specific payout instruction using the specified notification channel. This action allocates funds from the associated campaign to this payout instruction and sends the initial notification to the beneficiary, allowing them to claim their funds.
- Mock serverhttps://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:initiate
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:initiate' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"channel": "string"
}'Request
Cancels a specific payout instruction with the provided cancellation reason. This halts the payout process and prevents the beneficiary from claiming the funds. If funds were already allocated, they will be returned to the campaign budget.
- Mock serverhttps://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:cancel
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:cancel' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"cancellationReason": "string"
}'Request
Attempts to restore a payout instruction when a payment was requested but not successfully processed (e.g., a PayPal transfer that the beneficiary hasn't accepted). This action attempts to cancel the pending external payout and return the beneficiary to a state where they can select a different payout method and process their payout again.
- Mock serverhttps://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:try-restore
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:try-restore' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Request
Sends a reminder notification to the beneficiary about their pending payout instruction. This can be used when a beneficiary has not claimed their funds after the initial notification was sent.
- Mock serverhttps://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:send-reminder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:send-reminder' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'