Get a Loop Link
Get an existing Loop Link.
Enter your PredictHQ API key. The Bearer prefix is added automatically.
When calling the API directly, send: Authorization: Bearer <YOUR_API_KEY> as documented at https://docs.predicthq.com/api/overview/authenticating
An existing Loop Link ID.
Successful Response
Loop Link Identifier.
E.g. ber7ntO0ZHuFVCfrSNsN
Date/time the Loop Link is set to expire in ISO 8601 format.
All dates are in UTC.
E.g. 2023-05-08T00:29:45.859Z
Name of the Loop Link. This is for your own use as a way to differentiate your Loop Links.
E.g. Hotel ABC
^[a-zA-Z0-9 _-]+$Status of the loop link.
Date/time the Loop Link was created in ISO 8601 format.
All dates are in UTC.
E.g. 2023-05-08T00:29:45.859Z
Date/time the Loop Link was last updated in ISO 8601 format.
All dates are in UTC.
E.g. 2023-05-08T00:29:45.859Z
Validation Error
Examples
curl -X GET "https://api.predicthq.com/v1/loop/links/$LINK_ID" \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN"import requests
response = requests.get(
url="https://api.predicthq.com/v1/loop/links/$LINK_ID",
headers={
"Authorization": "Bearer $ACCESS_TOKEN",
"Accept": "application/json"
}
)
print(response.json())OpenAPI Spec
Guides
Last updated
Was this helpful?