REST API
Use the REST API to add new participants, trigger referrals, get campaign data, and get participant data from a secure environment.
Last updated
Was this helpful?
Use the REST API to add new participants, trigger referrals, get campaign data, and get participant data from a secure environment.
Last updated
Was this helpful?
Go to your page
Generate a new API key (if you don't already have one) or click on your existing API key to copy it to your clipboard
Do not use the RESTful API in browser applications. Exposing your secret API key within front end code exposes it to security risks. Anybody with a bit of programming knowledge could potentially hijack your API key and begin making requests on your behalf.
The GrowSurf REST API uses your API key to authenticate requests. Here's how to set up authentication:
Set a plain text header named Authorization
with the contents being Bearer <YOUR_API_ACCESS_KEY>
where <YOUR_API_ACCESS_KEY>
is your API key.
All endpoints for the GrowSurf REST API start with the same base URL: