Skip to main content
POST
/
api
/
orgs
/
{id}
/
kpis
/
{kpiId}
/
http-syncs
/
{syncId}
/
publish
Publish KPI HTTP sync
curl --request POST \
  --url https://atollhq.com/api/orgs/{id}/kpis/{kpiId}/http-syncs/{syncId}/publish \
  --header 'Authorization: Bearer <token>'
{
  "sync": {
    "id": "<string>",
    "config_hash": "<string>",
    "config_version": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

id identifier

kpiId
string
required

kpiId identifier

syncId
string
required

syncId identifier

Response

Successful response

sync
object