Getting Started
Getting Started
Welcome to the DidYouGo API. This documentation covers the core flows for QR code address management, QR code tags, authentication, appointment import, service confirmations, and webhooks.
Credentials & Provisioning
Access to the DidYouGo API is provisioned out-of-band by the DidYouGo team. You will receive an API key and a matching secret. Every request must pass them as a Bearer token separated by a colon.
Authentication
Authorization: Bearer <api_key>:<api_secret>
See the Authentication page for all supported methods.
Base URL
| Environment | Base URL |
|---|---|
| This environment | http://staging.didyougo.com.au/api |
Common Headers
| Header | Value | Required |
|---|---|---|
Content-Type | application/json | Yes |
Authorization | Bearer <api_key>:<api_secret> | Yes |
First Integration Checklist
- Request API credentials (key + secret) from DidYouGo.
- Confirm which environment the credentials target.
- Verify authentication with a
GET /api/qrcodescall. - Create your first QR code address (example below).
- For imports, choose sync mode for small payloads or background mode for large ones.
- If you need push notifications, register a webhook (see Webhooks).
- Review Errors & Rate Limits to handle failures and throttling.
Quick Start: Create a QR Code Address
1. Verify authentication
curl
curl -H "Authorization: Bearer your_api_key:your_api_secret" \
http://staging.didyougo.com.au/api/qrcodes?organization_uuid=org-uuid-here
2. Create a QR code address
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 '{
"location": "123 Main St, Sydney NSW 2000",
"organization_uuid": "org-uuid-here",
"type": "SITE",
"name": "Main Office"
}'
3. Verify it was created
curl
curl -H "Authorization: Bearer your_api_key:your_api_secret" \
http://staging.didyougo.com.au/api/qrcodes?organization_uuid=org-uuid-here