> For the complete documentation index, see [llms.txt](https://docs.growsurf.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.growsurf.com/developer-tools.md).

# Developer Tools

- [Embeddable Elements](https://docs.growsurf.com/developer-tools/embeddable-elements.md): Embedded elements are UI elements you can embed into your web app to create a whitelabel referral experience within your own user portal. Referral links are auto-generated for your users.
- [JavaScript SDK](https://docs.growsurf.com/developer-tools/javascript-sdk.md): Use the JavaScript SDK to interact with your GrowSurf program and participant data.
- [Tutorials](https://docs.growsurf.com/developer-tools/javascript-sdk/tutorials.md): How to implement the GrowSurf JavaScript SDK in common use-case scenarios.
- [Single Page Applications](https://docs.growsurf.com/developer-tools/javascript-sdk/single-page-applications.md): View sample code and troubleshooting tips for integrating GrowSurf into common JavaScript frameworks such as React and Vue.
- [API Reference](https://docs.growsurf.com/developer-tools/javascript-sdk/api-reference.md): This reference documents the GrowSurf JavaScript SDK, including all available public methods and examples of each.
- [Client Response Codes](https://docs.growsurf.com/developer-tools/javascript-sdk/api-response-codes.md): Use these codes to troubleshoot errors when using the JavaScript SDK or Embeddable Elements.
- [iOS SDK](https://docs.growsurf.com/developer-tools/ios-sdk.md): Install and use the GrowSurf iOS SDK to capture referral attribution, create referred participants, and show a native referral window in your app.
- [Attribution Providers](https://docs.growsurf.com/developer-tools/ios-sdk/attribution-providers.md): Configure direct deep links and attribution adapters for the GrowSurf iOS SDK.
- [API Reference](https://docs.growsurf.com/developer-tools/ios-sdk/api-reference.md): Public methods, attribution adapters, and models exposed by the GrowSurf iOS SDK.
- [Models and Errors](https://docs.growsurf.com/developer-tools/ios-sdk/models-and-errors.md): Models, callbacks, stores, and errors exposed by the GrowSurf iOS SDK.
- [Android SDK](https://docs.growsurf.com/developer-tools/android-sdk.md): Install and use the GrowSurf Android SDK to capture referral attribution, create referred participants, and show a native referral window in your app.
- [Attribution Providers](https://docs.growsurf.com/developer-tools/android-sdk/attribution-providers.md): Configure direct deep links, Google Play Install Referrer, and attribution adapters for the GrowSurf Android SDK.
- [API Reference](https://docs.growsurf.com/developer-tools/android-sdk/api-reference.md): Public methods, Java callback overloads, attribution adapters, and models exposed by the GrowSurf Android SDK.
- [Models and Errors](https://docs.growsurf.com/developer-tools/android-sdk/models-and-errors.md): Models, callbacks, stores, interfaces, and errors exposed by the GrowSurf Android SDK.
- [REST API](https://docs.growsurf.com/developer-tools/rest-api.md): Use the REST API to create and manage your GrowSurf programs, participants, referrals, rewards, webhooks, and team settings from a secure server-side environment.
- [Tutorials](https://docs.growsurf.com/developer-tools/rest-api/tutorials.md): How to implement the GrowSurf REST API in common use-case scenarios.
- [Objects](https://docs.growsurf.com/developer-tools/rest-api/api-objects.md)
- [API Reference](https://docs.growsurf.com/developer-tools/rest-api/api-reference.md): This reference documents the GrowSurf REST API, including all available public methods and examples of each.
- [API Guidelines](https://docs.growsurf.com/developer-tools/rest-api/api-guidelines.md): Follow these standard guidelines when interacting with GrowSurf APIs.
- [API Lifecycle Policy](https://docs.growsurf.com/developer-tools/rest-api/api-lifecycle.md): Learn how GrowSurf versions the REST API and guarantees notice before breaking removals.
- [API Response Codes](https://docs.growsurf.com/developer-tools/rest-api/api-response-codes.md): Use these codes to troubleshoot API errors.
- [API Libraries](https://docs.growsurf.com/developer-tools/rest-api/api-libraries.md): Official GrowSurf API libraries for popular languages like TypeScript, Python, PHP, Ruby, and Java.
- [Webhooks](https://docs.growsurf.com/developer-tools/webhooks.md): Webhooks send data to your server when important events occur in your referral/affiliate program. This lets you deliver rewards automatically or update users in your database.
- [Securing Your Webhooks (optional)](https://docs.growsurf.com/developer-tools/webhooks/securing-your-webhooks.md): Add a webhook secret so your endpoint can confirm each request comes from GrowSurf.
- [Examples](https://docs.growsurf.com/developer-tools/webhooks/examples.md): How to implement Webhooks for your GrowSurf program.
- [Events Reference](https://docs.growsurf.com/developer-tools/webhooks/events-reference.md): Below are sample request payloads you will receive based on the webhook event types you have selected for your program.
- [Metadata](https://docs.growsurf.com/developer-tools/metadata.md): Use metadata to save your own data on participants and rewards.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.growsurf.com/developer-tools.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
