GET Codes
Get a set of new, single use codes to invite customers to request.
Note: This feature is not available on all users tarifs.
GET Parameters
Parameter | Description | |
---|---|---|
quantity (numeric) |
How many codes |
Minimum 1, Maximum 1000 |
template_id (numeric) |
Which feedback template should the codes be for? |
|
format (string) |
How should they be returned? |
Url: The full url for each code Link: A simple html link Code: Simply the request code |
Example JSON response:
{ "results": [ [ "U-xtK" ], [ "U-5tK" ], [ "U-VtK" ], [ "U-XtK" ], [ "U-mtK" ], [ "U-ytK" ], [ "U-GtK" ], [ "U-ftK" ], [ "U-htK" ], [ "U-utK" ], [ "U-ztK" ], [ "U-6tK" ], [ "U-AtK" ], [ "U-ItK" ], [ "U-ttK" ], [ "U-wtK" ], [ "U-4tK" ], [ "U-PtK" ], [ "U-ltK" ], [ "U-ntK" ], [ "U-FtK" ], [ "U-YtK" ], [ "U-jtK" ], [ "U-HtK" ], [ "U-JtK" ] ], "num_records": 25, "status": "OK" }