Get Loop Settings
Loop settings are used to control how certain elements might be displayed inside the Loop UI.
Particularly for the Loop Links UI we take the org_name from Settings and display it at the top of the page.
Authorizations
AuthorizationstringRequired
Use 'Authorization: Bearer <YOUR_API_KEY>' as documented at https://docs.predicthq.com/authentication
Responses
200
Successful Response
application/json
422
Validation Error
application/json
get
/v1/loop/settingsGET /v1/loop/settings HTTP/1.1
Host: api.predicthq.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"org_name": "text"
}Examples
curl -X GET "https://api.predicthq.com/v1/loop/settings" \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN"import requests
response = requests.get(
url="https://api.predicthq.com/v1/loop/settings",
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?