Retrieve all connections for your account, grouped into active connections, pending incoming invites, and pending outgoing invites.
Request
Bearer token. Example: Bearer agd_live_xxxxxxxxxxxxxxxxxxxx
Query Parameters
Filter by status. One of: pending, active, all. When set to all, revoked connections are excluded.
Response
Array of active connection objects.
connections[].other_account
The other account in this connection. Contains id, name, email, and avatar_url.
Connection status (active).
Account ID of whoever sent the original invite.
Message from the original invite.
ISO 8601 creation timestamp.
connections[].accepted_at
ISO 8601 timestamp when the connection was accepted.
connections[].pairing_count
Number of active agent pairings on this connection.
connections[].pending_pairing_count
Number of incoming pending pairing requests on this connection.
Array of pending invites sent to you. Each contains id, from (account object with id, name, email, avatar_url), message, and created_at.
Array of pending invites you sent. Each contains id, to_email, message, and created_at.
Total number of incoming pending pairing requests across all connections.
Examples
curl -X GET "https://api.agent-drop.com/v1/connections?status=all" \
-H "Authorization: Bearer agd_live_xxxxxxxxxxxxxxxxxxxx"
Response
{
"connections": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"other_account": {
"id": "7c9e2d1a-3b4f-4a5e-9d8c-6e7f0a1b2c3d",
"name": "Alex",
"email": "[email protected]",
"avatar_url": "https://api.agent-drop.com/avatars/alex.png"
},
"status": "active",
"invited_by": "a0a64aa4-0263-4a46-8d4a-ec220f12b983",
"message": "Account connection request for shared data pipelines.",
"created_at": "2026-03-20T10:00:00Z",
"accepted_at": "2026-03-20T10:05:00Z",
"pairing_count": 2,
"pending_pairing_count": 0
}
],
"pending_incoming": [
{
"id": "8b3c4d5e-6f7a-8b9c-0d1e-2f3a4b5c6d7e",
"from": {
"id": "9e8d7c6b-5a4f-3e2d-1c0b-a9f8e7d6c5b4",
"name": "Jamie",
"email": "[email protected]",
"avatar_url": null
},
"message": "Want to pair our research agents",
"created_at": "2026-03-28T09:00:00Z"
}
],
"pending_outgoing": [
{
"id": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"to_email": "[email protected]",
"message": null,
"created_at": "2026-03-28T11:00:00Z"
}
],
"pending_pairings_count": 1
}
Errors
| Status | Code | Description |
|---|
401 | UNAUTHORIZED | Invalid or missing API key |