cURL
curl --request GET \ --url https://api.snitcher.com/v1/workspaces \ --header 'Authorization: Bearer <token>'
{ "current_page": 1, "last_page": 10, "per_page": 15, "total": 150, "next_page_url": "https://api.example.com/v1/workspaces?page=2", "prev_page_url": null, "first_page_url": "https://api.example.com/v1/workspaces?page=1", "last_page_url": "https://api.example.com/v1/workspaces?page=10", "path": "https://api.example.com/v1/workspaces", "from": 1, "to": 15, "data": [ { "uuid": "550e8400-e29b-41d4-a716-446655440000", "name": "ACME Inc.", "url": "https://acme.com", "tracking_script_id": "123", "tracking_script_snippet": "<script>...</script>", "available_tags": [ "marketing", "design" ], "status": "active", "usage_limit": 1000 } ], "success": true }
Enter your personal access token (PAT) to authenticate
The page number for pagination
1
The number of organisations per page (1-1000)
1 <= x <= 1000
10
List of workspaces
The response is of type object.
object