Web Analytics Made Easy - Statcounter

Projects

Notes
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
List

API endpoint:

GET
https://piseo.app/api/v1/projects

Request example:

curl --location --request GET 'https://piseo.app/api/v1/projects' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Description
search
optional string
The search query.
search_by
optional string
Search by. Possible values are: project for Name. Defaults to: project.
sort_by
optional string
Sort by. Possible values are: created_at for Date created, project for Name. Defaults to: created_at.
sort
optional string
Sort. Possible values are: desc for Descending, asc for Ascending. Defaults to: desc.
per_page
optional int
Results per page. Possible values are: 10, 25, 50, 100. Defaults to: 25.
Delete

API endpoint:

DELETE
https://piseo.app/api/v1/projects/{project}

Request example:

curl --location --request DELETE 'https://piseo.app/api/v1/projects/{project}' \
--header 'Authorization: Bearer {api_key}'