API ReferenceView as MarkdownOpenAPI

SEO & analytics

View as Markdown

How the site is found and measured: SEO keywords, meta titles and descriptions, redirects, tracking codes and visit statistics.

Endpoints that need a token: the site owner creates it in their admin (Developers > API reference). AI assistants: how to ask the user for one.

62 endpoints in 10 parts: Activity Log, Ga, Gmb, Gsc, Keyword, Keyword Blacklist, Meta, Pixel Data, Report, Tracking.

Endpoints
GET/activity-log-filtersGET/activity-logsGET/activity-logs-exportGET/activity-logs/:idPOST/ga/connectPOST/ga/createPOST/ga/disconnectGET/ga/eventsGET/ga/pagesGET/ga/realtimeGET/ga/reportGET/ga/statusGET/gmb/categoriesPOST/gmb/connectPOST/gmb/createPOST/gmb/disconnectPOST/gmb/importPOST/gmb/selectGET/gmb/statusGET/gsc/breakdownPOST/gsc/connectPOST/gsc/disconnectGET/gsc/performanceGET/gsc/sitesGET/keywordsGET/keywords/:idGET/keyword-blacklistPOST/keyword-blacklistPATCH/keyword-blacklist/:idDELETE/keyword-blacklist/:idGET/metasPOST/metasGET/metas/:idGET/conversions-by-days/:daysGET/conversions-graph-by-days/:daysGET/conversions-table-by-days/:daysGET/event-count-by-days/:daysGET/pages-and-screens-by-days/:daysGET/pages-and-screens-graph-by-days/:daysGET/sessions-count-by-days/:daysGET/user-count-by-days/:daysGET/item-rating-over-time/:from&:toGET/report-bookings-over-time/:from&:toGET/report-clicks-over-time/:from&:toGET/report-coupon-over-time/:from&:toGET/report-interaction-over-time/:from&:toGET/report-item-over-time/:from&:toGET/report-item-sales-over-time/:from&:toGET/report-newsletter-over-time/:from&:toGET/report-payment-methods-revenue-over-time/:from&:toGET/report-priceplan-over-time/:from&:toGET/report-push-over-time/:from&:toGET/report-sales-over-time/:from&:toGET/report-shipping-over-time/:from&:toGET/report-traffic-over-time/:from&:toGET/report-users-over-time/:from&:toGET/user-item-rating-over-time/:from&:toGET/trackingsPOST/trackingsGET/trackings/:idPATCH/trackings/:idDELETE/trackings/:id

List the activity log filters

The action and entity values actually present, for the filter menus. Only values that occur, so no filter comes back empty.

Admin token

Needs a site admin token.

Returns

Returns a list of ActivityLog objects.

Status codes

200 401 500

GET/activity-log-filters
curl -X GET 'http://bulgariandebateassociation.max-media.io/activity-log-filters?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
[
  {
    "action": "example",
    "entity": "example",
    "entity_id": "example",
    "label": "Example",
    "method": "example",
    "path": "example",
    "status": 1,
    "changes": {},
    "ip": "example",
    "user_agent": "example",
    "_id": "6543210fedcba98765432100",
    "updatedAt": "2026-11-04T12:00:00.000Z",
    "createdAt": "2026-11-04T12:00:00.000Z",
    "actor": {
      "user": "example",
      "email": "jane@example.com",
      "name": "Example",
      "kind": "example"
    }
  }
]

List all activity logs

List activity log entries, newest first. Answers { results, limit, skip, has_more }, paged with ?skip and ?limit (capped). Filters: ?action, ?entity, ?entity_id, ?user, ?email, ?kind, ?search, ?from and ?to.

Admin token

Needs a site admin token.

Query parameters
limitstring

How many results to return.

skipstring

How many results to skip - for paging.

Returns

Returns a list of ActivityLog objects.

Status codes

200 401 500

GET/activity-logs
curl -X GET 'http://bulgariandebateassociation.max-media.io/activity-logs?ionic=true&limit=...&skip=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
[
  {
    "action": "example",
    "entity": "example",
    "entity_id": "example",
    "label": "Example",
    "method": "example",
    "path": "example",
    "status": 1,
    "changes": {},
    "ip": "example",
    "user_agent": "example",
    "_id": "6543210fedcba98765432100",
    "updatedAt": "2026-11-04T12:00:00.000Z",
    "createdAt": "2026-11-04T12:00:00.000Z",
    "actor": {
      "user": "example",
      "email": "jane@example.com",
      "name": "Example",
      "kind": "example"
    }
  }
]

Export activity logs

The current selection as CSV. The same filters as /activity-logs, capped at a limit.

Admin token

Needs a site admin token.

Query parameters
limitstring

How many results to return.

Returns

Returns the ActivityLog object.

Status codes

200 401 500

GET/activity-logs-export
curl -X GET 'http://bulgariandebateassociation.max-media.io/activity-logs-export?ionic=true&limit=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "action": "example",
  "entity": "example",
  "entity_id": "example",
  "label": "Example",
  "method": "example",
  "path": "example",
  "status": 1,
  "changes": {},
  "ip": "example",
  "user_agent": "example",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z",
  "actor": {
    "user": "example",
    "email": "jane@example.com",
    "name": "Example",
    "kind": "example"
  }
}

Retrieve an activity log

One entry, including the full recorded payload. 404 when there is no such record.

Admin token

Needs a site admin token.

Path parameters
idstringRequired

The ID of the activity log.

Returns

Returns the ActivityLog object.

Status codes

200 401 404 500

GET/activity-logs/:id
curl -X GET 'http://bulgariandebateassociation.max-media.io/activity-logs/{id}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "action": "example",
  "entity": "example",
  "entity_id": "example",
  "label": "Example",
  "method": "example",
  "path": "example",
  "status": 1,
  "changes": {},
  "ip": "example",
  "user_agent": "example",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z",
  "actor": {
    "user": "example",
    "email": "jane@example.com",
    "name": "Example",
    "kind": "example"
  }
}

Connect the Google Analytic

Lists the Google Analytics accounts and properties of a Google sign-in (accessToken). Answers { hasAccount, accounts }. The token is used once and not stored.

User token

Needs the token of a signed-in user.

Status codes

200 400 401 500

POST/ga/connect
curl -X POST 'http://bulgariandebateassociation.max-media.io/ga/connect?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'

Create a Google Analytic

Creates or picks a Google Analytics property and puts its tag on the site. Uses the site's domain and currency. Every page is rendered again with the tag.

User token

Needs the token of a signed-in user.

Parameters
propertystring

The Google Analytic's property.

accountNamestring

The Google Analytic's account name.

currencyCodestring

The Google Analytic's currency code.

propertyNamestring

The Google Analytic's property name.

timeZonestring

The Google Analytic's time zone.

replaceTagstring

The Google Analytic's replace tag.

Status codes

200 400 401 500

POST/ga/create
curl -X POST 'http://bulgariandebateassociation.max-media.io/ga/create?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{ "property": "...", "accountName": "...", "currencyCode": "...", "propertyName": "...", "timeZone": "..." }'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

Disconnect the Google Analytic

Unlinks Google Analytics and removes its tag from the site. Every page is rendered again without the tag. The Analytics property itself is not touched. Answers { connected: false }.

User token

Needs the token of a signed-in user.

Status codes

200 401 500

POST/ga/disconnect
curl -X POST 'http://bulgariandebateassociation.max-media.io/ga/disconnect?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

List all Google Analytics

Events by name over ?range, from Google Analytics. The same answers when not linked as /ga/report.

User token

Needs the token of a signed-in user.

Query parameters
rangestring

Only Google Analytics with this range.

Status codes

200 400 401 500

GET/ga/events
curl -X GET 'http://bulgariandebateassociation.max-media.io/ga/events?ionic=true&range=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

List all Google Analytics

Most viewed pages over ?range, from Google Analytics. The same answers when not linked as /ga/report.

User token

Needs the token of a signed-in user.

Query parameters
rangestring

Only Google Analytics with this range.

Status codes

200 400 401 500

GET/ga/pages
curl -X GET 'http://bulgariandebateassociation.max-media.io/ga/pages?ionic=true&range=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

Retrieve the Google Analytic

Visitors on the site right now, from Google Analytics. The last 30 minutes, by minute. Cached for a minute.

User token

Needs the token of a signed-in user.

Status codes

200 400 401 500

GET/ga/realtime
curl -X GET 'http://bulgariandebateassociation.max-media.io/ga/realtime?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

Report the Google Analytic

Visitors and events per day over ?range, from Google Analytics (cached). ?range picks the period. Answers { connected: false } when not linked, and noAccess when the platform lost access to the property. Answers are cached.

User token

Needs the token of a signed-in user.

Query parameters
rangestring

Only Google Analytics with this range.

Status codes

200 400 401 500

GET/ga/report
curl -X GET 'http://bulgariandebateassociation.max-media.io/ga/report?ionic=true&range=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

Change the status of a Google Analytic

Whether Google Analytics is linked and its tag is on the site. Answers { connected } with the property when linked.

User token

Needs the token of a signed-in user.

Status codes

200 401 500

GET/ga/status
curl -X GET 'http://bulgariandebateassociation.max-media.io/ga/status?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

List all Google Business Profiles

Business Profile categories matching ?q, for a region and language. ?accessToken is the owner's Google token.

User token

Needs the token of a signed-in user.

Query parameters
accessTokenstring

Only Google Business Profiles with this access token.

regionCodestring

Only Google Business Profiles with this region code.

languageCodestring

Only Google Business Profiles with this language code.

qstring

The words to search for.

Status codes

200 400 401 500

GET/gmb/categories
curl -X GET 'http://bulgariandebateassociation.max-media.io/gmb/categories?ionic=true&accessToken=...&regionCode=...&languageCode=...' \
  -H 'Authorization: Bearer <TOKEN>'

Connect the Google Business Profile

Lists the Google Business Profile locations of a Google sign-in (accessToken). Answers { hasBusiness, locations, accountEmail }. The token is used once and not stored.

User token

Needs the token of a signed-in user.

Status codes

200 400 401 500

POST/gmb/connect
curl -X POST 'http://bulgariandebateassociation.max-media.io/gmb/connect?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

Create a Google Business Profile

Creates Business Profile locations (locations) for the business. 400 when the Google account has no Business Profile account. Answers 201 { locations }.

User token

Needs the token of a signed-in user.

Parameters
locationsstring

The Google Business Profile's locations.

Status codes

201 400 401 500

POST/gmb/create
curl -X POST 'http://bulgariandebateassociation.max-media.io/gmb/create?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{ "locations": "..." }'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

Disconnect the Google Business Profile

Unlinks the Business Profile from the site; the profile itself stays. Answers { connected: false }.

User token

Needs the token of a signed-in user.

Status codes

200 400 401 500

POST/gmb/disconnect
curl -X POST 'http://bulgariandebateassociation.max-media.io/gmb/disconnect?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

Import the Google Business Profile

Imports a location's address, hours, services and pictures into the site. Only what is asked: importServices, importHours, importAddress, importEmail; services go into collectionId. Answers what was imported.

User token

Needs the token of a signed-in user.

Parameters
serviceItemsstring

The Google Business Profile's service items.

storefrontAddressstring

The Google Business Profile's storefront address.

regularHoursstring

The Google Business Profile's regular hours.

locationstring

The Google Business Profile's location.

importServicesstring

The Google Business Profile's import services.

collectionIdstring

The Google Business Profile's collection id.

importHoursstring

The Google Business Profile's import hours.

importAddressstring

The Google Business Profile's import address.

emailstring

An email address.

importEmailstring

The Google Business Profile's import email.

Status codes

200 400 401 500

POST/gmb/import
curl -X POST 'http://bulgariandebateassociation.max-media.io/gmb/import?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{ "serviceItems": "...", "storefrontAddress": "...", "regularHours": "...", "location": "...", "importServices": "..." }'
Response
{
  "title": "Example",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Create a Google Business Profile

Links one Business Profile location to the site (location). Answers { connected, gmb_location }.

User token

Needs the token of a signed-in user.

Parameters
locationstring

The Google Business Profile's location.

Status codes

200 400 401 500

POST/gmb/select
curl -X POST 'http://bulgariandebateassociation.max-media.io/gmb/select?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{ "location": "..." }'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

Change the status of a Google Business Profile

Whether a Business Profile location is linked to the site. Answers { connected } with the location when linked.

User token

Needs the token of a signed-in user.

Status codes

200 401 500

GET/gmb/status
curl -X GET 'http://bulgariandebateassociation.max-media.io/gmb/status?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

Retrieve the Search Console

Search Console results by query, page, country or device (?dimension). ?dimension: query, page, country or device.

User token

Needs the token of a signed-in user.

Query parameters
rangestring

Only Search Consoles with this range.

typestring

Only Search Consoles with this type.

dimensionstring

Only Search Consoles with this dimension.

Status codes

200 400 401 500

GET/gsc/breakdown
curl -X GET 'http://bulgariandebateassociation.max-media.io/gsc/breakdown?ionic=true&range=...&type=...&dimension=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

Connect the Search Console

Verifies the site in Search Console and adds it (accessToken). Puts the verification meta tag on the site, verifies it and adds the sitemap. Answers { connected, siteUrl, reporting }.

User token

Needs the token of a signed-in user.

Status codes

200 400 401 409 500

POST/gsc/connect
curl -X POST 'http://bulgariandebateassociation.max-media.io/gsc/connect?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "domain": "example",
  "instance_group": "example",
  "port": 1,
  "name": "Example",
  "isPremium": false,
  "access_level": 0,
  "premium_domain": "example",
  "premium_domain_parked": false,
  "subscription_id": "example",
  "hasSSL": false,
  "isDeleted": false,
  "agreedToTerms": false,
  "agreedToTermsAt": "example",
  "hasRunningCampaign": false,
  "transfer_ns": [
    "example"
  ],
  "pending_domain_transfer": false,
  "domain_transfer_complete": false,
  "isSuspended": false,
  "suspended_at": "2026-11-04T12:00:00.000Z",
  "replica_sets": [
    {
      "instance_group": "example",
      "port": 1,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "defaultUser": "6543210fedcba98765432100",
  "onboard_type": "generic",
  "completed_payment": false,
  "_id": "6543210fedcba98765432100",
  "cancel": {
    "isPending": false,
    "timestamp": "example"
  }
}

Disconnect the Search Console

Unlinks Search Console and removes its verification tag. The site stays in the owner's Search Console. Answers { connected: false }.

User token

Needs the token of a signed-in user.

Status codes

200 401 500

POST/gsc/disconnect
curl -X POST 'http://bulgariandebateassociation.max-media.io/gsc/disconnect?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "title": "Example",
  "script": "example",
  "prefix": "example",
  "place_in_body": false,
  "external_tracker_id": "example",
  "external_tracker_integration": "example",
  "event_map": {},
  "_id": "6543210fedcba98765432100"
}

Retrieve the Search Console

Clicks, impressions and positions over ?range, from Search Console (cached). ?range picks the period, ?type the search type. Answers { connected: false } when not linked.

User token

Needs the token of a signed-in user.

Query parameters
rangestring

Only Search Consoles with this range.

typestring

Only Search Consoles with this type.

Status codes

200 400 401 500

GET/gsc/performance
curl -X GET 'http://bulgariandebateassociation.max-media.io/gsc/performance?ionic=true&range=...&type=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

List all Search Consoles

Whether Google Search Console is linked and verified for the site. Answers { connected } with the site's Search Console address when linked.

User token

Needs the token of a signed-in user.

Status codes

200 401 500

GET/gsc/sites
curl -X GET 'http://bulgariandebateassociation.max-media.io/gsc/sites?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

List all keywords

The SEO keywords. Answers an array of every keyword.

Admin token

Needs a site admin token.

Returns

Returns a list of Keyword objects.

Status codes

200 401 500

GET/keywords
curl -X GET 'http://bulgariandebateassociation.max-media.io/keywords?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
[
  {
    "word": "example",
    "_id": "6543210fedcba98765432100"
  }
]

Retrieve a keyword

One SEO keyword. 404 when there is no such keyword.

Admin token

Needs a site admin token.

Path parameters
idstringRequired

The ID of the keyword.

Returns

Returns the Keyword object.

Status codes

200 401 404 500

GET/keywords/:id
curl -X GET 'http://bulgariandebateassociation.max-media.io/keywords/{id}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "word": "example",
  "_id": "6543210fedcba98765432100"
}

Retrieve the keyword blacklist

Words not allowed in posts and comments. Answers the record's id and words.

User token

Needs the token of a signed-in user.

Returns

Returns the KeywordBlacklist object.

Status codes

200 401 500

GET/keyword-blacklist
curl -X GET 'http://bulgariandebateassociation.max-media.io/keyword-blacklist?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "keyword": [
    "example"
  ],
  "_id": "6543210fedcba98765432100"
}

Create a keyword blacklist

Creates a blacklist record. Answers 201 with no body.

User token

Needs the token of a signed-in user.

Returns

Returns the KeywordBlacklist object.

Status codes

201 400 401 500

POST/keyword-blacklist
curl -X POST 'http://bulgariandebateassociation.max-media.io/keyword-blacklist?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "keyword": [
    "example"
  ],
  "_id": "6543210fedcba98765432100"
}

Update a keyword blacklist

Updates a blacklist record. Fields outside the allowed list are silently ignored. Answers the updated record, or 404.

User token

Needs the token of a signed-in user.

Path parameters
idstringRequired

The ID of the keyword blacklist.

Returns

Returns the KeywordBlacklist object.

Status codes

200 400 401 404 500

PATCH/keyword-blacklist/:id
curl -X PATCH 'http://bulgariandebateassociation.max-media.io/keyword-blacklist/{id}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "keyword": [
    "example"
  ],
  "_id": "6543210fedcba98765432100"
}

Delete a keyword blacklist

Deletes a blacklist record. Answers the deleted record, or 404. Records that point to it are not changed.

User token

Needs the token of a signed-in user.

Path parameters
idstringRequired

The ID of the keyword blacklist.

Returns

Returns an empty answer on success.

Status codes

200 401 404 500

DELETE/keyword-blacklist/:id
curl -X DELETE 'http://bulgariandebateassociation.max-media.io/keyword-blacklist/{id}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'

List all metas

Every page's meta tags. Reads no token.

Public

Public - no token needed.

Returns

Returns a list of Meta objects.

Status codes

200 500

GET/metas
curl -X GET 'http://bulgariandebateassociation.max-media.io/metas?ionic=true'
Response
[
  {
    "title": "Example",
    "url": "example-item",
    "description": "Text shown on the site.",
    "site_name": "Example",
    "image": "6543210fedcba98765432100",
    "_id": "6543210fedcba98765432100"
  }
]

Create a meta

Creates a page's meta tags. Answers 201 with the record. Pages get theirs automatically when created, so this is for pages without one.

User token

Needs the token of a signed-in user.

Returns

Returns the Meta object.

Status codes

201 400 401 500

POST/metas
curl -X POST 'http://bulgariandebateassociation.max-media.io/metas?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "title": "Example",
  "url": "example-item",
  "description": "Text shown on the site.",
  "site_name": "Example",
  "image": "6543210fedcba98765432100",
  "_id": "6543210fedcba98765432100"
}

Retrieve a meta

One page's meta tags. 404 when there is no such record.

Public

Public - no token needed.

Path parameters
idstringRequired

The ID of the meta.

Returns

Returns the Meta object.

Status codes

200 404 500

GET/metas/:id
curl -X GET 'http://bulgariandebateassociation.max-media.io/metas/{id}?ionic=true'
Response
{
  "title": "Example",
  "url": "example-item",
  "description": "Text shown on the site.",
  "site_name": "Example",
  "image": "6543210fedcba98765432100",
  "_id": "6543210fedcba98765432100"
}

List all conversions days

Each conversion by date over the last days. From the site's own pixel. 403 "Unauthorized" for an account the user may not manage (?on_behalf_of).

User token

Needs the token of a signed-in user.

Path parameters
daysstringRequired

The conversions day's days.

Query parameters
on_behalf_ofstring

Only conversions days with this on behalf of.

Status codes

200 401 403 500

GET/conversions-by-days/:days
curl -X GET 'http://bulgariandebateassociation.max-media.io/conversions-by-days/{days}?ionic=true&on_behalf_of=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "on_behalf_of": "6543210fedcba98765432100",
  "user_account": "6543210fedcba98765432100",
  "status": "pending",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z",
  "is_authorized_to": {
    "create_posts": false,
    "send_messages": false,
    "answer_delete_comments": false,
    "access_engagements": false,
    "access_boosted_posts": false,
    "access_analytics": false,
    "alter_profile_settings": false
  }
}

List all conversions graph days

Conversions per day over the last days, for a chart. From the site's own pixel. 403 "Unauthorized" for an account the user may not manage (?on_behalf_of).

User token

Needs the token of a signed-in user.

Path parameters
daysstringRequired

The conversions graph day's days.

Query parameters
on_behalf_ofstring

Only conversions graph days with this on behalf of.

Status codes

200 401 403 500

GET/conversions-graph-by-days/:days
curl -X GET 'http://bulgariandebateassociation.max-media.io/conversions-graph-by-days/{days}?ionic=true&on_behalf_of=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "on_behalf_of": "6543210fedcba98765432100",
  "user_account": "6543210fedcba98765432100",
  "status": "pending",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z",
  "is_authorized_to": {
    "create_posts": false,
    "send_messages": false,
    "answer_delete_comments": false,
    "access_engagements": false,
    "access_boosted_posts": false,
    "access_analytics": false,
    "alter_profile_settings": false
  }
}

List all conversions table days

Conversions by event over the last days, as a table. From the site's own pixel. 403 "Unauthorized" for an account the user may not manage (?on_behalf_of).

User token

Needs the token of a signed-in user.

Path parameters
daysstringRequired

The conversions table day's days.

Query parameters
on_behalf_ofstring

Only conversions table days with this on behalf of.

Status codes

200 401 403 500

GET/conversions-table-by-days/:days
curl -X GET 'http://bulgariandebateassociation.max-media.io/conversions-table-by-days/{days}?ionic=true&on_behalf_of=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "on_behalf_of": "6543210fedcba98765432100",
  "user_account": "6543210fedcba98765432100",
  "status": "pending",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z",
  "is_authorized_to": {
    "create_posts": false,
    "send_messages": false,
    "answer_delete_comments": false,
    "access_engagements": false,
    "access_boosted_posts": false,
    "access_analytics": false,
    "alter_profile_settings": false
  }
}

Count event days

How many pixel events happened per day over the last days. From the site's own pixel. 403 "Unauthorized" for an account the user may not manage (?on_behalf_of). Answers { events, count }.

User token

Needs the token of a signed-in user.

Path parameters
daysstringRequired

The event day's days.

Query parameters
on_behalf_ofstring

Only event days with this on behalf of.

Status codes

200 401 403 500

GET/event-count-by-days/:days
curl -X GET 'http://bulgariandebateassociation.max-media.io/event-count-by-days/{days}?ionic=true&on_behalf_of=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "on_behalf_of": "6543210fedcba98765432100",
  "user_account": "6543210fedcba98765432100",
  "status": "pending",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z",
  "is_authorized_to": {
    "create_posts": false,
    "send_messages": false,
    "answer_delete_comments": false,
    "access_engagements": false,
    "access_boosted_posts": false,
    "access_analytics": false,
    "alter_profile_settings": false
  }
}

List all pages and screens days

The most viewed pages over the last days. From the site's own pixel. 403 "Unauthorized" for an account the user may not manage (?on_behalf_of).

User token

Needs the token of a signed-in user.

Path parameters
daysstringRequired

The pages and screens day's days.

Query parameters
on_behalf_ofstring

Only pages and screens days with this on behalf of.

Status codes

200 401 403 500

GET/pages-and-screens-by-days/:days
curl -X GET 'http://bulgariandebateassociation.max-media.io/pages-and-screens-by-days/{days}?ionic=true&on_behalf_of=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "on_behalf_of": "6543210fedcba98765432100",
  "user_account": "6543210fedcba98765432100",
  "status": "pending",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z",
  "is_authorized_to": {
    "create_posts": false,
    "send_messages": false,
    "answer_delete_comments": false,
    "access_engagements": false,
    "access_boosted_posts": false,
    "access_analytics": false,
    "alter_profile_settings": false
  }
}

List all pages and screens graph days

Page views per day over the last days, for a chart. From the site's own pixel. 403 "Unauthorized" for an account the user may not manage (?on_behalf_of).

User token

Needs the token of a signed-in user.

Path parameters
daysstringRequired

The pages and screens graph day's days.

Query parameters
on_behalf_ofstring

Only pages and screens graph days with this on behalf of.

Status codes

200 401 403 500

GET/pages-and-screens-graph-by-days/:days
curl -X GET 'http://bulgariandebateassociation.max-media.io/pages-and-screens-graph-by-days/{days}?ionic=true&on_behalf_of=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "zip_code": "example",
  "city": "example",
  "address": "example",
  "contact": "example",
  "email": "jane@example.com",
  "google_app": "example",
  "workhours": "example",
  "logo": "6543210fedcba98765432100",
  "site_name": "Example",
  "domain": "example",
  "stock_domain": "example",
  "isMarket": false,
  "forbidden_collections": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "isInit": false,
  "template": "0000",
  "lang": "en",
  "favicon": "6543210fedcba98765432100",
  "cacheEnabled": false,
  "has_completed_startup_prompt": true,
  "gmb_location": "example",
  "ga_property": "example",
  "site_generated_at": "2026-11-04T12:00:00.000Z",
  "admin_first_opened_at": "2026-11-04T12:00:00.000Z",
  "admin_last_opened_at": "2026-11-04T12:00:00.000Z",
  "allowedComponents": {
    "services": false,
    "products": false,
    "blogposts": false,
    "programs": false
  }
}

Count sessions days

Sessions and their length per day over the last days. From the site's own pixel. 403 "Unauthorized" for an account the user may not manage (?on_behalf_of). Answers { sessions }.

User token

Needs the token of a signed-in user.

Path parameters
daysstringRequired

The sessions day's days.

Query parameters
on_behalf_ofstring

Only sessions days with this on behalf of.

Status codes

200 401 403 500

GET/sessions-count-by-days/:days
curl -X GET 'http://bulgariandebateassociation.max-media.io/sessions-count-by-days/{days}?ionic=true&on_behalf_of=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "on_behalf_of": "6543210fedcba98765432100",
  "user_account": "6543210fedcba98765432100",
  "status": "pending",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z",
  "is_authorized_to": {
    "create_posts": false,
    "send_messages": false,
    "answer_delete_comments": false,
    "access_engagements": false,
    "access_boosted_posts": false,
    "access_analytics": false,
    "alter_profile_settings": false
  }
}

Count user days

Visitors per day over the last days. From the site's own pixel. 403 "Unauthorized" for an account the user may not manage (?on_behalf_of). Answers { users, count }.

User token

Needs the token of a signed-in user.

Path parameters
daysstringRequired

The user day's days.

Query parameters
on_behalf_ofstring

Only user days with this on behalf of.

Status codes

200 401 403 500

GET/user-count-by-days/:days
curl -X GET 'http://bulgariandebateassociation.max-media.io/user-count-by-days/{days}?ionic=true&on_behalf_of=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "on_behalf_of": "6543210fedcba98765432100",
  "user_account": "6543210fedcba98765432100",
  "status": "pending",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z",
  "is_authorized_to": {
    "create_posts": false,
    "send_messages": false,
    "answer_delete_comments": false,
    "access_engagements": false,
    "access_boosted_posts": false,
    "access_analytics": false,
    "alter_profile_settings": false
  }
}

List all item rating over times

Ratings of chosen items over time. Answers { datasets, averageRating, totalRatings } for ?itemsString.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The item rating over time's from.

tostringRequired

The item rating over time's to.

Query parameters
splitstring

Only item rating over times with this split.

itemsStringstring

Only item rating over times with this items string.

Status codes

200 401 500

GET/item-rating-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/item-rating-over-time/{from}&{to}?ionic=true&split=...&itemsString=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "email": "jane@example.com",
  "text": "Text shown on the site.",
  "medias": [
    {
      "media": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "stars": 1,
  "product": "6543210fedcba98765432100",
  "service": "6543210fedcba98765432100",
  "program": "6543210fedcba98765432100",
  "price_plan": "6543210fedcba98765432100",
  "name": "Example",
  "miniapp": "6543210fedcba98765432100",
  "staff_member": "6543210fedcba98765432100",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Report bookings over time

Bookings per service between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The bookings over time's from.

tostringRequired

The bookings over time's to.

Query parameters
splitstring

Only bookings over times with this split.

servicesstring

Only bookings over times with this services.

Status codes

200 401 500

GET/report-bookings-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-bookings-over-time/{from}&{to}?ionic=true&split=...&services=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "title": "Example",
  "url": "example-item",
  "static_url": "example-item",
  "header": "example",
  "description": "Text shown on the site.",
  "bookable": true,
  "expirable": false,
  "confirm_bookings": false,
  "show_notes": false,
  "minutes_delete_bookings": 1,
  "medias": [
    {
      "media": "6543210fedcba98765432100",
      "gcs_url": "example-item",
      "gcs_480_30_url": "example-item",
      "gcs_720_30_url": "example-item",
      "gcs_1080_30_url": "example-item",
      "duration": 1,
      "vimeo_uri": "example",
      "vimeo_picture": "example",
      "vimeo_url": "example-item",
      "youtube_url": "example-item",
      "youtube_picture": "example",
      "thumbnail": "example",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "collection_id": "6543210fedcba98765432100",
  "price": 49.9,
  "online_payment": false,
  "book_by_date": false,
  "book_date_range": false,
  "start_date": "2026-11-04T12:00:00.000Z",
  "end_date": "2026-11-04T12:00:00.000Z",
  "day_offset": 0,
  "is_recurring": false,
  "max_participants": 1,
  "session_duration": 1,
  "time_between_sessions": 0,
  "discount": [
    {
      "days": 1,
      "per_total_price": 49.9,
      "fixed_price": 49.9,
      "per_day": 1,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "monday": {
    "active": false,
    "hours": "example"
  },
  "tuesday": {
    "active": false,
    "hours": "example"
  },
  "wednesday": {
    "active": false,
    "hours": "example"
  },
  "thursday": {
    "active": false,
    "hours": "example"
  },
  "friday": {
    "active": false,
    "hours": "example"
  },
  "saturday": {
    "active": false
  }
}

Report clicks over time

Clicks per link between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The clicks over time's from.

tostringRequired

The clicks over time's to.

Status codes

200 401 500

GET/report-clicks-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-clicks-over-time/{from}&{to}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "url": "example-item",
  "ip": "example",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Report a coupon over time

Use of chosen coupons (?coupons) between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The coupon over time's from.

tostringRequired

The coupon over time's to.

Query parameters
splitstring

Only coupon over times with this split.

couponsstring

Only coupon over times with this coupons.

Status codes

200 401 500

GET/report-coupon-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-coupon-over-time/{from}&{to}?ionic=true&split=...&coupons=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "code": "example",
  "name": "Example",
  "fixed_discount": 1,
  "percentage_discount": 1,
  "shipping_discount": 1,
  "sale_discount": 1,
  "apply_to_all_orders": false,
  "apply_to_all_products": false,
  "apply_to_product": "example",
  "apply_to_event": "example",
  "apply_to_all_events": false,
  "apply_to_collection": "example",
  "apply_to_minimum_subtotal": 49.9,
  "start_date": "2026-11-04T12:00:00.000Z",
  "end_date": "2026-11-04T12:00:00.000Z",
  "no_end_date": false,
  "limit_uses": 1,
  "uses": 0,
  "_id": "6543210fedcba98765432100",
  "quantity_discount": {
    "buy": 0,
    "get": 0
  }
}

Report an interaction over time

Visitor interaction per day between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd. Reads no token.

Public

Public - no token needed.

Path parameters
fromstringRequired

The interaction over time's from.

tostringRequired

The interaction over time's to.

Status codes

200 500

GET/report-interaction-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-interaction-over-time/{from}&{to}?ionic=true'
Response
{
  "session_id": "example",
  "page_views": 1,
  "site_session": 0,
  "app_session": 0,
  "last_url": "example-item",
  "path": [
    "example"
  ],
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Report an item over time

Sales of chosen products (?ids) per day between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The item over time's from.

tostringRequired

The item over time's to.

Query parameters
splitstring

Only item over times with this split.

idsstring

Only item over times with this ids.

Status codes

200 401 500

GET/report-item-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-item-over-time/{from}&{to}?ionic=true&split=...&ids=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "name": "Example",
  "url": "example-item",
  "static_url": "example-item",
  "ribbon": "example",
  "striked": "example",
  "price": 49.9,
  "description": "Text shown on the site.",
  "product_informations": [
    {
      "name": "Example",
      "description": "Text shown on the site.",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "product_options": [
    {
      "name": "Example",
      "options": [],
      "informations": [],
      "_id": "6543210fedcba98765432100"
    }
  ],
  "published": true,
  "available_for_purchase": true,
  "medias": [
    {
      "media": "6543210fedcba98765432100",
      "gcs_url": "example-item",
      "gcs_480_30_url": "example-item",
      "gcs_720_30_url": "example-item",
      "gcs_1080_30_url": "example-item",
      "duration": 1,
      "vimeo_uri": "example",
      "vimeo_picture": "example",
      "vimeo_url": "example-item",
      "youtube_url": "example-item",
      "youtube_picture": "example",
      "thumbnail": "example",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "collection_id": "6543210fedcba98765432100",
  "grouping": [
    {
      "collection_id": "6543210fedcba98765432100",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "owner_id": "6543210fedcba98765432100",
  "connected_account_owner_id": "6543210fedcba98765432100",
  "qty": 1,
  "origin_address": "example",
  "selected": false,
  "custom_1": "example",
  "custom_2": "example",
  "custom_3": "example",
  "about_page": "6543210fedcba98765432100",
  "is_digital": false,
  "secondary_cta": {
    "show": false,
    "title": "Example",
    "webUrl": "example",
    "appUrl": "example"
  },
  "attached_priceplans": {
    "name": "Example",
    "priceplans": "example"
  }
}

Report an item sales over time

Sales per product between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The item sales over time's from.

tostringRequired

The item sales over time's to.

Status codes

200 401 500

GET/report-item-sales-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-item-sales-over-time/{from}&{to}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "organization_name": "Example",
  "firstname": "Example",
  "lastname": "Example",
  "email": "jane@example.com",
  "phone_number": "+359 888 123 456",
  "address": "example",
  "city": "example",
  "state": "example",
  "country": "example",
  "zip_code": "example",
  "tax_identification_number": "example",
  "notes": "Text shown on the site.",
  "products": [
    "example"
  ],
  "products_obj": [
    {
      "product_id": "6543210fedcba98765432100",
      "name": "Example",
      "options": "example",
      "price": 49.9,
      "quantity": 1,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "programs": [
    "example"
  ],
  "programs_obj": [
    {
      "program_id": "6543210fedcba98765432100",
      "title": "Example",
      "price": 49.9,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "tickets": [
    "6543210fedcba98765432101"
  ],
  "donations": [
    "6543210fedcba98765432101"
  ],
  "donations_obj": [
    {
      "donation_id": "6543210fedcba98765432100",
      "name": "Example",
      "options": "example",
      "price": 49.9,
      "quantity": 1,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "value": 49.9,
  "finalized": false,
  "fulfilled": false,
  "paid": false,
  "delivery_method": "example"
}

Report a newsletter over time

New newsletter subscribers per day between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The newsletter over time's from.

tostringRequired

The newsletter over time's to.

Status codes

200 401 500

GET/report-newsletter-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-newsletter-over-time/{from}&{to}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "name": "Example",
  "age": 1,
  "email": "jane@example.com",
  "city": "example",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Report a payment methods revenue over time

Revenue per payment method between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The payment methods revenue over time's from.

tostringRequired

The payment methods revenue over time's to.

Query parameters
splitstring

Only payment methods revenue over times with this split.

paymentsstring

Only payment methods revenue over times with this payments.

Status codes

200 401 500

GET/report-payment-methods-revenue-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-payment-methods-revenue-over-time/{from}&{to}?ionic=true&split=...&payments=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "organization_name": "Example",
  "firstname": "Example",
  "lastname": "Example",
  "email": "jane@example.com",
  "phone_number": "+359 888 123 456",
  "address": "example",
  "city": "example",
  "state": "example",
  "country": "example",
  "zip_code": "example",
  "tax_identification_number": "example",
  "notes": "Text shown on the site.",
  "products": [
    "example"
  ],
  "products_obj": [
    {
      "product_id": "6543210fedcba98765432100",
      "name": "Example",
      "options": "example",
      "price": 49.9,
      "quantity": 1,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "programs": [
    "example"
  ],
  "programs_obj": [
    {
      "program_id": "6543210fedcba98765432100",
      "title": "Example",
      "price": 49.9,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "tickets": [
    "6543210fedcba98765432101"
  ],
  "donations": [
    "6543210fedcba98765432101"
  ],
  "donations_obj": [
    {
      "donation_id": "6543210fedcba98765432100",
      "name": "Example",
      "options": "example",
      "price": 49.9,
      "quantity": 1,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "value": 49.9,
  "finalized": false,
  "fulfilled": false,
  "paid": false,
  "delivery_method": "example"
}

Report a price plan over time

New subscriptions per plan between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The price plan over time's from.

tostringRequired

The price plan over time's to.

Query parameters
splitstring

Only price plan over times with this split.

price_plansstring

Only price plan over times with this price plans.

Status codes

200 401 500

GET/report-priceplan-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-priceplan-over-time/{from}&{to}?ionic=true&split=...&price_plans=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "name": "Example",
  "description": "Text shown on the site.",
  "statement_descriptor": "example",
  "plan_features": [
    {
      "feature_type": "example",
      "feature_name": "Example",
      "feature_value": "example",
      "_id": "6543210fedcba98765432100"
    }
  ],
  "price": 49.9,
  "link": "example-item",
  "image": "6543210fedcba98765432100",
  "price_id": "example",
  "payment_link_id": "example-item",
  "free_trial_days": 0,
  "billing_address_collection": "auto",
  "owner_id": "6543210fedcba98765432100",
  "times_showed": 0,
  "views": [
    "6543210fedcba98765432101"
  ],
  "total_views": 0,
  "disabled": false,
  "ribbon": "example",
  "linked_plans": [
    "6543210fedcba98765432101"
  ],
  "is_hidden": false,
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z",
  "recurring_options": {
    "interval": "example",
    "interval_count": 0
  }
}

Report a push over time

New push subscribers per day between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The push over time's from.

tostringRequired

The push over time's to.

Status codes

200 401 500

GET/report-push-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-push-over-time/{from}&{to}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "user": "example",
  "is_admin": false,
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Report sales over time

Sales per day between two dates (yyyy-mm-dd). Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The sales over time's from.

tostringRequired

The sales over time's to.

Status codes

200 401 500

GET/report-sales-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-sales-over-time/{from}&{to}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "organization_name": "Example",
  "firstname": "Example",
  "lastname": "Example",
  "email": "jane@example.com",
  "phone_number": "+359 888 123 456",
  "address": "example",
  "city": "example",
  "state": "example",
  "country": "example",
  "zip_code": "example",
  "tax_identification_number": "example",
  "notes": "Text shown on the site.",
  "products": [
    "example"
  ],
  "products_obj": [
    {
      "product_id": "6543210fedcba98765432100",
      "name": "Example",
      "options": "example",
      "price": 49.9,
      "quantity": 1,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "programs": [
    "example"
  ],
  "programs_obj": [
    {
      "program_id": "6543210fedcba98765432100",
      "title": "Example",
      "price": 49.9,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "tickets": [
    "6543210fedcba98765432101"
  ],
  "donations": [
    "6543210fedcba98765432101"
  ],
  "donations_obj": [
    {
      "donation_id": "6543210fedcba98765432100",
      "name": "Example",
      "options": "example",
      "price": 49.9,
      "quantity": 1,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "value": 49.9,
  "finalized": false,
  "fulfilled": false,
  "paid": false,
  "delivery_method": "example"
}

Report a shipping over time

Orders per delivery method between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The shipping over time's from.

tostringRequired

The shipping over time's to.

Query parameters
splitstring

Only shipping over times with this split.

shippingsstring

Only shipping over times with this shippings.

Status codes

200 401 500

GET/report-shipping-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-shipping-over-time/{from}&{to}?ionic=true&split=...&shippings=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "organization_name": "Example",
  "firstname": "Example",
  "lastname": "Example",
  "email": "jane@example.com",
  "phone_number": "+359 888 123 456",
  "address": "example",
  "city": "example",
  "state": "example",
  "country": "example",
  "zip_code": "example",
  "tax_identification_number": "example",
  "notes": "Text shown on the site.",
  "products": [
    "example"
  ],
  "products_obj": [
    {
      "product_id": "6543210fedcba98765432100",
      "name": "Example",
      "options": "example",
      "price": 49.9,
      "quantity": 1,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "programs": [
    "example"
  ],
  "programs_obj": [
    {
      "program_id": "6543210fedcba98765432100",
      "title": "Example",
      "price": 49.9,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "tickets": [
    "6543210fedcba98765432101"
  ],
  "donations": [
    "6543210fedcba98765432101"
  ],
  "donations_obj": [
    {
      "donation_id": "6543210fedcba98765432100",
      "name": "Example",
      "options": "example",
      "price": 49.9,
      "quantity": 1,
      "_id": "6543210fedcba98765432100"
    }
  ],
  "value": 49.9,
  "finalized": false,
  "fulfilled": false,
  "paid": false,
  "delivery_method": "example"
}

Report a traffic over time

Sessions and page views per day between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The traffic over time's from.

tostringRequired

The traffic over time's to.

Status codes

200 401 500

GET/report-traffic-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-traffic-over-time/{from}&{to}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "session_id": "example",
  "page_views": 1,
  "site_session": 0,
  "app_session": 0,
  "last_url": "example-item",
  "path": [
    "example"
  ],
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Report users over time

New users per day between two dates. Renders the report page; with ?ionic answers its data as JSON. Dates are yyyy-mm-dd.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The users over time's from.

tostringRequired

The users over time's to.

Status codes

200 401 500

GET/report-users-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/report-users-over-time/{from}&{to}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "name": "Example",
  "email": "jane@example.com",
  "avatar": "6543210fedcba98765432100",
  "social_avatar": "example",
  "isAdmin": false,
  "isStaff": false,
  "owner_id": "6543210fedcba98765432100",
  "organization_name": "Example",
  "firstname": "Example",
  "lastname": "Example",
  "phone_number": "+359 888 123 456",
  "address": "example",
  "city": "example",
  "state": "example",
  "country": "example",
  "zip_code": "example",
  "tax_identification_number": "example",
  "notes": "Text shown on the site.",
  "isConfirmed": false,
  "number_of_sales": 0,
  "stripe_id": "example",
  "paypal_id": "example",
  "access_level": 1,
  "validation_code": "example",
  "can_edit": {
    "site": false,
    "crm": false,
    "store": false,
    "payments": false,
    "staff": false
  },
  "ip_location": {
    "city": "example",
    "continent_name": "Example",
    "country_name": "Example",
    "country_subdivision": "example",
    "location_latitude": 0,
    "location_longitude": 0,
    "last_updated": "example"
  }
}

List all user item rating over times

Ratings of the user's items of a kind (?type) over time. 404 "No ratings found". Answers the series with the average to 2 decimals.

Admin token

Needs a site admin token.

Path parameters
fromstringRequired

The user item rating over time's from.

tostringRequired

The user item rating over time's to.

Query parameters
charAtstring

Only user item rating over times with this char at.

slicestring

Only user item rating over times with this slice.

typestring

Only user item rating over times with this type.

Status codes

200 401 404 500

GET/user-item-rating-over-time/:from&:to
curl -X GET 'http://bulgariandebateassociation.max-media.io/user-item-rating-over-time/{from}&{to}?ionic=true&charAt=...&slice=...&type=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "name": "Example",
  "make": "6543210fedcba98765432100",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

List all trackings

The site's tracking scripts. Answers an array of every record.

Public

Public - no token needed.

Returns

Returns a list of Tracking objects.

Status codes

200 500

GET/trackings
curl -X GET 'http://bulgariandebateassociation.max-media.io/trackings?ionic=true'
Response
[
  {
    "title": "Example",
    "script": "example",
    "prefix": "example",
    "place_in_body": false,
    "external_tracker_id": "example",
    "external_tracker_integration": "example",
    "event_map": {},
    "_id": "6543210fedcba98765432100"
  }
]

Create a tracking

Creates a tracking script. Every page is rendered again with the script. Answers 201.

Admin token

Needs a site admin token.

Returns

Returns the Tracking object.

Status codes

201 400 401 500

POST/trackings
curl -X POST 'http://bulgariandebateassociation.max-media.io/trackings?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "title": "Example",
  "script": "example",
  "prefix": "example",
  "place_in_body": false,
  "external_tracker_id": "example",
  "external_tracker_integration": "example",
  "event_map": {},
  "_id": "6543210fedcba98765432100"
}

Retrieve a tracking

One tracking script. 404 when there is no such record.

Public

Public - no token needed.

Path parameters
idstringRequired

The ID of the tracking.

Returns

Returns the Tracking object.

Status codes

200 404 500

GET/trackings/:id
curl -X GET 'http://bulgariandebateassociation.max-media.io/trackings/{id}?ionic=true'
Response
{
  "title": "Example",
  "script": "example",
  "prefix": "example",
  "place_in_body": false,
  "external_tracker_id": "example",
  "external_tracker_integration": "example",
  "event_map": {},
  "_id": "6543210fedcba98765432100"
}

Update a tracking

Updates a tracking script. Fields outside the allowed list are silently ignored. Answers the updated record, or 404.

Admin token

Needs a site admin token.

Path parameters
idstringRequired

The ID of the tracking.

Returns

Returns the Tracking object.

Status codes

200 400 401 404 500

PATCH/trackings/:id
curl -X PATCH 'http://bulgariandebateassociation.max-media.io/trackings/{id}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "title": "Example",
  "script": "example",
  "prefix": "example",
  "place_in_body": false,
  "external_tracker_id": "example",
  "external_tracker_integration": "example",
  "event_map": {},
  "_id": "6543210fedcba98765432100"
}

Delete a tracking

Deletes a tracking script. Answers the deleted record, or 404. Records that point to it are not changed.

Admin token

Needs a site admin token.

Path parameters
idstringRequired

The ID of the tracking.

Returns

Returns an empty answer on success.

Status codes

200 401 404 500

DELETE/trackings/:id
curl -X DELETE 'http://bulgariandebateassociation.max-media.io/trackings/{id}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
↑↓ Navigate↵ GoEsc Close