fastmon Docs
Applications

Create Application Site

Report an issue

Adopt a domain into the application as a member site. The site is a pure domain/analytics unit — it carries no hashes/config of its own; the application's config applies at ingest, so only the domain is needed. Typically fed a hostname from the discovery list; on success that hostname is cleared from the list.

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

Request Body

application/json

Adopt a domain into an application as a child site.

Deliberately minimal: the collection config is the application's, applied at ingest, so only the domain (and an optional display name) are needed. The created site carries NO own embed — it is served/collected via the application's. Typically called with a hostname from the discovery list.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

POST
/applications/{app_id}/sites
curl -X POST "https://example.com/applications/497f6eca-6276-4993-bfeb-53cbbbba6f08/sites" \  -H "Content-Type: application/json" \  -d '{    "domain": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",  "application_id": "48ac72d0-a829-4896-a067-dcb1c2b0f30c",  "name": "string",  "domain": "string",  "is_active": true,  "tags": [],  "data_retention_days": 0,  "store_stitch": true,  "count_visitors_by": "stitch"}