Search Loop Links
Search existing Loop Links.
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
Query parameters
offsetintegerOptionalDefault:
Offset the results.
0limitintegerOptionalDefault:
Limit the number of results.
10qstring · min: 1 · max: 120OptionalPattern:
Full-text search.
E.g. ?q=hotel+a
^[a-zA-Z0-9 _-]+$link_idstring[]Optional
A comma-separated list of Loop Link IDs
user_idstring[]Optional
A comma-separated list of user IDs
Responses
200
Successful Response
application/json
422
Validation Error
application/json
get
/v1/loop/linksExamples
curl -X GET "https://api.predicthq.com/v1/loop/links?sort=name" \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN"import requests
response = requests.get(
url="https://api.predicthq.com/v1/loop/links",
headers={
"Authorization": "Bearer $ACCESS_TOKEN",
"Accept": "application/json"
},
params={
"sort": "name"
}
)
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?