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.

Get Loop Settings

get
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

Responses
200

Successful Response

application/json
get
/v1/loop/settings
GET /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"

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?