API Reference
cURL
curl --request POST \ --url https://api.usefathom.com/v1/sites/{site_id}/events \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>" }'
{ "id": "CDBUGS", "object": "site", "name": "Bugs Bunny Portfolio", "sharing": "none", "created_at": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the site you wish to load. This is the same string you use in the tracking code.
Site created
The response is of type object.
object