Skip to main content
POST
Enable or disable a tracking connection

Authorizations

x-api-key
string
header
required

A server-side Bily API key created under Settings > MCP > Access key fallback. Select the intended store before creating it.

Headers

x-bily-organization-id
string

An organization ID returned by GET /context or GET /organizations. Required for GET /stores and optional for store-scoped paths.

Example:

"org_01J8W7T9G3E6ZQ4M2K5N8P1R0S"

Path Parameters

storeUrl
string
required

The exact store URL returned by GET /context or GET /stores.

Example:

"store.example.com"

pixelId
string
required

A tracking connection ID returned by the list endpoint.

Example:

"pix_01J8W8D5GSPN3XQYF4K2A6M7RT"

Body

application/json
enabled
boolean
required

Response

Request completed successfully.

storeUrl
string
required
pixels
object[]
required
ok
boolean