Skip to main content

Summary

Fetch all alliances (allied organizations) associated with your workspace. Includes representative information and recent visit logs.

Request

GET https://api.planetaryapp.us/v1/workspace/{workspace_id}/allies

Query Parameters

ParameterTypeDescription
pagenumberPage number (default: 1)
limitnumberItems per page (default: 50, max: 100)

Response example

{
  "success": true,
  "allies": [
    {
      "id": "clz1234abcd",
      "name": "Partner Organization",
      "description": "Our strategic partner",
      "logo": "https://example.com/partner-logo.png",
      "representatives": [
        {
          "id": "clz5678efgh",
          "name": "Jane Smith",
          "role": "CEO",
          "contact": "[email protected]"
        }
      ],
      "recentVisits": [
        {
          "id": "clz9012ijkl",
          "date": "2024-01-01T00:00:00Z",
          "notes": "Discussed partnership renewal",
          "attendees": ["John Doe", "Jane Smith"]
        }
      ]
    }
  ],
  "total": 5,
  "page": 1,
  "limit": 50,
  "pages": 1
}