Generate REST API Library Snippets
growsurf_api_library_snippetsGenerate Markdown code examples for GrowSurf backend REST API libraries. Choose a language and workflow to get setup, participant, referral, sales, or token code without executing API calls.
Instructions
Generate 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.
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. |