Skip to main content
GET
/
projects
curl -X GET "https://seggwat.com/api/v1/projects" \
  -H "X-API-Key: oat_xxxxxxxxxxxxxxxxxxxxx"
{
  "projects": [
    {
      "id": "507f1f77bcf86cd799439011",
      "key": "550e8400-e29b-41d4-a716-446655440000",
      "name": "Production App",
      "description": "Main production application",
      "allowed_origins": ["https://example.com", "https://app.example.com"],
      "org_id": "507f1f77bcf86cd799439022",
      "feedback_count": 142
    },
    {
      "id": "507f1f77bcf86cd799439033",
      "key": "660e8400-e29b-41d4-a716-446655440001",
      "name": "Staging App",
      "description": "Staging environment",
      "allowed_origins": ["https://staging.example.com"],
      "org_id": "507f1f77bcf86cd799439022",
      "feedback_count": 28
    }
  ]
}

Authentication

X-API-Key
string
required
Your Organization Access Token. See Authentication for details.

Response

projects
array
Array of projects belonging to your organization.
curl -X GET "https://seggwat.com/api/v1/projects" \
  -H "X-API-Key: oat_xxxxxxxxxxxxxxxxxxxxx"
{
  "projects": [
    {
      "id": "507f1f77bcf86cd799439011",
      "key": "550e8400-e29b-41d4-a716-446655440000",
      "name": "Production App",
      "description": "Main production application",
      "allowed_origins": ["https://example.com", "https://app.example.com"],
      "org_id": "507f1f77bcf86cd799439022",
      "feedback_count": 142
    },
    {
      "id": "507f1f77bcf86cd799439033",
      "key": "660e8400-e29b-41d4-a716-446655440001",
      "name": "Staging App",
      "description": "Staging environment",
      "allowed_origins": ["https://staging.example.com"],
      "org_id": "507f1f77bcf86cd799439022",
      "feedback_count": 28
    }
  ]
}