fastmon Docs
Applications

Detect Application Pagetype

Report an issue

Find out which shop system this application runs, by reading its home page.

Answers the question the pagetype_ruleset setting asks, without making anybody open DevTools and read document.body.className. The probe target is the application's own domain, never a URL from the caller: this endpoint makes the server fetch a page, so the only address it ever visits is one the customer registered here.

Detection only. The result is not written, because a probe reads one page of one domain while the setting governs every page of the application.

Authorization

bearerAuth
AuthorizationBearer <token>

API token generated from the fastmon dashboard (Account → API Token) or at organization level (fmo_…, one that outlives its creator). Send as Authorization: Bearer fm_... or paste the full token (including its prefix) into the Authorize dialog.

In: header

Path Parameters

app_id*App Id
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

POST
/applications/{app_id}/detect-pagetype
curl -X POST "https://example.com/applications/497f6eca-6276-4993-bfeb-53cbbbba6f08/detect-pagetype"
{  "url": "string",  "final_url": "",  "status": 0,  "detected_ruleset": "",  "ruleset_supported": false,  "matched_via": "",  "page_type": "",  "body_classes": [    "string"  ],  "generators": [    "string"  ]}