Create Application Site
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 API token generated from the fastmon dashboard (Account → API Token). Send as Authorization: Bearer fm_... or paste the full token (including the fm_ prefix) into the Authorize dialog.
In: header
Path Parameters
uuidRequest 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
curl -X POST "https://example.com/v1/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"}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}