Get a Loop Link
Get an existing Loop Link.
Authorizations
AuthorizationstringRequired
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
Path parameters
link_idstringRequired
An existing Loop Link ID.
Responses
200
Successful Response
application/json
422
Validation Error
application/json
get
/v1/loop/links/{link_id}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
The OpenAPI spec for Loop API can be found here.
Guides
ow are some guides relevant to this API:
Last updated
Was this helpful?