fastmon Docs
Applications

Create Application Site

Fehler melden

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.

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <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.

Pfad-Parameter

app_id*App Id
Formatuuid

Request-Body

application/json
  1. body

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.

domain*Domain

The domain to adopt, without scheme or port.

name?|

Display name for the new domain. Defaults to the domain itself.

Response-Body

Successful Response

application/json
  1. response

A site: a pure domain / analytics unit belonging to one application.

The embed + collection config live on the application (fetch it via application_id); they are NOT mirrored here.

id*Id

Identifier of the domain.

Formatuuid
organization_id*Organization Id

The organization this domain belongs to.

Formatuuid
application_id*Application Id

The application whose embed this domain runs, and whose collection config applies to it.

Formatuuid
name*Name

Display name.

domain*Domain

The hostname beacons are attributed to, without scheme or port.

is_active*Is Active

Whether the domain is enabled.

tags?array<string>

Free-form labels, used to group domains and to scope notification rules.

Default[]
POST
/applications/{app_id}/sites
curl -X POST 'https://api.fastmon.eu/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": []}