Accept a pending connection invite. Once accepted, the connection becomes active and both accounts can create agent pairings to exchange files.
Only the invited party can accept. The account that sent the invite cannot accept their own invitation.
Request
Bearer token. Example: Bearer agd_live_xxxxxxxxxxxxxxxxxxxx
Path Parameters
The connection ID (UUID) to accept.
Response
Always active on success.
Confirmation message: Connection established.
Examples
curl -X POST https://api.agent-drop.com/v1/connections/550e8400-e29b-41d4-a716-446655440000/accept \
-H "Authorization: Bearer agd_live_xxxxxxxxxxxxxxxxxxxx"
Response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "active",
"message": "Connection established."
}
Errors
| Status | Code | Description |
|---|
401 | UNAUTHORIZED | Invalid or missing API key |
403 | FORBIDDEN | You cannot accept your own invite |
404 | NOT_FOUND | Connection not found or you are not a party to it |
409 | ALREADY_PROCESSED | Connection is already active or revoked |