Generate REST API Library Snippets
growsurf_api_library_snippetsGenerate Markdown code examples for the official backend REST API libraries in TypeScript, Python, PHP, Ruby, and Java. Select language and workflow; both default to all. Covers setup, program lookup, participant creation, referral credit, sales, and mobile participant tokens. Returns code without executing API calls. Use growsurf_client_snippets for browser JavaScript or growsurf_mobile_sdk_guide for native or React Native app setup.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "growsurf_api_library_snippets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| language | No | all | |
| workflow | No | all | |
| campaignId | No | ||
| referredBy | No | ||
| participantIdOrEmail | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | No | The generated guidance as a markdown document. |