GET
/
link
curl --request GET \
  --url https://api.bsy.sh/v1/link \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "long_url": "<string>",
    "title": "<string>",
    "favicon": "<string>",
    "custom_link": "<string>",
    "tags": [
      "<string>"
    ],
    "has_utm": true,
    "has_opengraph": true,
    "has_android_targeting": true,
    "android_target_url": "<string>",
    "has_ios_targeting": true,
    "ios_target_url": "<string>",
    "has_windows_targeting": true,
    "windows_target_url": "<string>",
    "has_linux_targeting": true,
    "linux_target_url": "<string>",
    "has_geo_targeting": true,
    "has_cloaking": true,
    "has_password": true,
    "password_logo": "<string>",
    "has_expiration": true,
    "expiration": "2023-11-07T05:31:56Z",
    "expiration_clicks": "<string>",
    "is_expired": true,
    "is_clicked": true,
    "last_clicked": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "bitsy_url": "<string>",
    "custom_url": "<string>",
    "utm": {
      "utm_source": "<string>",
      "utm_medium": "<string>",
      "utm_campaign": "<string>",
      "utm_term": "<string>",
      "utm_content": "<string>"
    },
    "opengraph": {
      "meta_title": "<string>",
      "meta_description": "<string>",
      "meta_image": "<string>"
    },
    "geo_targets": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "target_url": "<string>",
        "country": {
          "iso2": "<string>",
          "name": "<string>"
        }
      }
    ],
    "shareable_analytics": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "start_date": "2023-12-25",
        "end_date": "2023-12-25",
        "created_at": "2023-11-07T05:31:56Z",
        "share_url": "<string>",
        "has_password": true
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string
required

The unique identifier for the Bitsy Link.

Response

200
application/json
Details of the requested Bitsy Link
status
enum<string>
required
Available options:
success
data
object
required