Here we provide some API examples based on articles written for our documentation.
Depending on your language of choice, make sure to rename the config file in /examples/_config/[LANGUAGE]/config.*.example by removing the .example.
Then fill out the required constants/variables:
| Constant/Variable | Description | 
|---|---|
| SE_URL | URL to your Unite site. | 
| SE_TOKEN | Your API token. | 
| SE_VIEWER_TOKEN | API Token of the viewer. If you plan to act as other users, make sure this viewer is an admin. | 
Learn more about API authentication here and getting the correct tokens.