Websites
/
Create a website

Create a website

POST
https:/api.livesession.io/v1/websites

Create a website

Scopes

Required scopes: websites:write

Request body

  • host
    string
    Required
    Domain name or hostname of the website to track
  • description
    string
    Optional description of the website for organization purposes

Response

Create a website
  • website_id
    string
    Unique identifier for the website
  • host
    string
    Domain name or hostname of the website (e.g., example.com)
Example request
curl --request POST \
--url https://api.livesession.io/v1/websites \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"host": "string",
"description": "string"
}
'
Example response
{
"website_id": "string",
"host": "string"
}
Built with

Show your support! Star us on GitHub ⭐️