List Projects
curl --request POST \
--url https://api.example.com/websites/list \
--header 'Content-Type: application/json' \
--data '
{
"organizationId": "<string>",
"includeArchived": true
}
'{
"id": "<string>",
"organizationId": "<string>",
"domain": "<string>",
"name": "<string>",
"publicAccess": true,
"trackingStatus": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}Projects API
List Projects
Returns all websites (projects) for the given organization
POST
/
websites
/
list
List Projects
curl --request POST \
--url https://api.example.com/websites/list \
--header 'Content-Type: application/json' \
--data '
{
"organizationId": "<string>",
"includeArchived": true
}
'{
"id": "<string>",
"organizationId": "<string>",
"domain": "<string>",
"name": "<string>",
"publicAccess": true,
"trackingStatus": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}Authentication
Requires either:- Session authentication (browser)
- API key with organization scope in
x-api-keyheader orAuthorization: Bearerheader
Request Body
The organization ID to list websites for
Include archived websites in results. Defaults to
falseResponse
Returns an array of website objects.Unique website identifier
Organization that owns this website
Website domain (e.g.,
example.com)Display name for the website
Whether the analytics dashboard is public
Current tracking status:
active, inactive, or setup_requiredISO 8601 timestamp of creation
ISO 8601 timestamp of last update
Example Request
curl -X POST https://api.databuddy.cc/websites/list \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"organizationId": "org_abc123"
}'
Example Response
[
{
"id": "web_xyz789",
"organizationId": "org_abc123",
"domain": "example.com",
"name": "Example Website",
"publicAccess": false,
"trackingStatus": "active",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-03-01T14:22:00Z"
}
]
⌘I