Skip to content

Search Referral Programs

Tool name: search-referral-programs

Searches referral programs by name, newest first, with ID and name. Read one with get-referral-program.

Input schema

querynull or string, <= 250 characters

Part of the name to look for; omit for all

Default:null
limitinteger, [ 1 .. 200 ]

Most referral programs to answer, newest first

Default:50
accountIdnull or integer, >= 1

User ID of the account; omit for the account of the access token

Default:null
Input example
{ "query": null, "limit": 50, "accountId": null }

Output schema

accountIdintegerrequired
countintegerrequired
totalCountintegerrequired
hasMorebooleanrequired
referralProgramsArray of objectsrequired
Output example
{ "accountId": 0, "count": 0, "totalCount": 0, "hasMore": true, "referralPrograms": [ { "id": 0, "name": "string" } ] }