GET /bitlinks/{bitlink}/cities
Returns the city origins of click traffic for the specified link.
Servers
- https://api-ssl.bitly.com/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
bitlink |
String | Yes |
A Bitlink made of the domain and hash |
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) |
size |
Integer | No |
The quantity of items to be be returned Default value: 50 |
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.