GET /qr-codes/{qrcode_id}/scans
Returns an array of scan counts for the specified QR code. The array is comprised of scan counts for each time window, where the window is based on the provided unit.
Servers
- https://api-ssl.bitly.com/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
qrcode_id |
String | Yes |
The QR Code ID |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
units |
Integer | Yes |
An integer representing the time units to query data for. pass -1 to return all units of time Default value: -1 |
unit_reference |
String | No |
An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) |
unit |
String | Yes |
A unit of time Valid values:
Default value: "day" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.