Create QR Code Address
Create QR Code Address
POST /api/qrcodes
Create a new QR code address. You must specify the location and organization. Latitude and longitude are optional — if omitted they are auto-resolved from the location.
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
address_line_1 |
string | Yes | Street address |
address_line_2 |
string | No | Unit / Apartment |
suburb |
string | Yes | Suburb or city |
state |
string | Yes | State or province |
postcode |
string | Yes | Postal code |
country |
string | Yes | Country name |
organization_uuid |
string | Yes | UUID of the organization |
type |
string | Yes | Type: SITE or CLIENT_HOME |
name |
string | No | Name or label for the QR code address |
Example
json
{
"address_line_1": "123 Main Street",
"address_line_2": "Suite 4",
"suburb": "Melbourne",
"state": "VIC",
"postcode": "3000",
"country": "Australia",
"organization_uuid": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"type": "SITE",
"name": "Main Office",
}
See Errors & Rate Limits for the common error contract used across the API.
Error Codes
| Status | Meaning |
|---|---|
| 400 | Bad Request — validation error or missing field |
| 401 | Unauthorized |
| 403 | Access Denied or subscription required |
| 500 | Internal Server Error |
Example Request
curl
curl -X POST http://staging.didyougo.com.au/api/qrcodes \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_api_key:your_api_secret" \
-d ' {
"address_line_1": "123 Main Street",
"address_line_2": "Suite 4",
"suburb": "Melbourne",
"state": "VIC",
"postcode": "3000",
"country": "Australia",
"organization_uuid": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"type": "SITE",
"name": "Main Office",
}'
Try It
Try it
Requests are sent without cookies — you must provide a valid Bearer <api_key>:<api_secret> header.
API Response
Click the Send API Request button above and see the response here!
Example Response
json
{
"uuid": "9ox2CrAa2aoPvF2JtvDATW",
"created_on": "2026-07-22 08:06:38.708278",
"updated_on": "2026-07-22 08:06:38.708278",
"deleted_on": null,
"address_line_1": "447 Harris Street",
"address_line_2": null,
"suburb": "Ultimo",
"state": "New South Wales",
"postcode": "2007",
"country": "Australia",
"location": "447 Harris Street, Ultimo, New South Wales 2007, Australia",
"latitude": -33.876043,
"longitude": 151.19735,
"organization_uuid": "Po5fQfUGec5ucKFeMDes24",
"status": "ACTIVE",
"type": "CLIENT_HOME",
"name": null,
"deleted": false
}