Fixed
Gamify API: Corrected Code Samples Across all Endpoints
about 2 hours ago by Blair Matheson
The code samples on every Gamify API endpoint have been corrected.
- Samples now use the region-specific base URL
gamify-api-{region}.optimove.netinstead of a development host - The Base URL selector now offers US and EU rather than a free-text region field
- Node.js samples no longer include the URL scheme in
hostname, which caused the request to fail before it was sent - Several Node.js samples were missing the
/adactpath prefix - The Prize Codes samples used
/prize/instead of/prizes/
If you previously copied a sample, please use the updated version.
