Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wede.pt/llms.txt

Use this file to discover all available pages before exploring further.

Endpoint

Authentication

Requires dispatch:assign permission.

Request Body

FieldTypeRequiredDescription
event_idstringYesID of the event to assign
team_idstring (UUID)YesID of the team to dispatch
notesstringNoOptional dispatch notes

Example

curl -X POST https://api.wede.pt/v1/teams/dispatch \
  -H "X-Wede-API-Key: wede_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "event_id": "evt-001",
    "team_id": "00000000-0000-0000-0000-000000000001",
    "notes": "Closest available unit"
  }'

Response

{
  "id": "...",
  "event_id": "evt-001",
  "team_id": "...",
  "dispatched_at": "2026-05-14T21:00:00Z"
}
Dispatching a team automatically sets its status to on_mission.