Shoffi Docs
  • 👋Getting Started
  • 💻For App Owners
    • Adding a new app
    • Google Analytics integration
    • The affiliate terms
    • Managing affiliates
    • Invite affiliates
    • Paying affiliates
    • Managing your apps
    • Managing your team
    • Integrations (Webhooks)
  • 💳Subscriptions
    • Choosing/Upgrading a plan
    • Plan limits
    • Changing billing details
    • Downgrade and cancellation
    • Frozen and Deactivated accounts
  • 🔀The Shoffi API
    • Introduction to Shoffi API
    • Get All Affiliates
    • Get Affiliate Info
    • Create New Affiliate
    • Update Affiliate Terms
    • Affiliate Payment Request
  • 🔗For Affiliates
    • Connecting to new apps
    • Referral links
    • Manual referrals
    • Payout requests
    • Performance analytics
    • Connected app Information
  • General
    • The markets
    • The affiliate commision
    • Disputes
Powered by GitBook
On this page
  • Get all the affiliates of an app
  • Response example
  1. The Shoffi API

Get All Affiliates

Get all the affiliates of an app

GET https://platform.shoffi.app/API/affiliate/getAll

Request Body

Name
Type
Description

apiKey*

String

Your Shoffi app API Key

appId*

Integer

Your app ID

[
    {
        "affiliateDetails": {
            "email": "[email protected]",
            "firstName": "Tobias",
            "lastName": "Lütke",
            "nickName": "tobi"
        }
    },
    {
        "affiliateDetails": {
            "email": "[email protected]",
            "firstName": "Harley",
            "lastName": "Finkelstein",
            "nickName": "President"
        }
    }
]
{
    "status": 400,
    "message": "Error details"
}
curl -X POST \
  https://platform.shoffi.app/API/affiliate/getAll \
  -H 'Content-Type: application/json' \
  -d '{
    "apiKey": "YourKey",
    "appId": 00000000
  }'

Response example

200 OK
Content-Type: application/json
[
    {
        "affiliateDetails": {
            "email": "[email protected]",
            "firstName": "Tobias",
            "lastName": "Lütke",
            "nickName": "tobi"
        }
    },
    {
        "affiliateDetails": {
            "email": "[email protected]",
            "firstName": "Harley",
            "lastName": "Finkelstein",
            "nickName": "President"
        }
    }
]
PreviousIntroduction to Shoffi APINextGet Affiliate Info

Last updated 4 months ago

🔀