Accept Connection
Connections
Accept Connection: Approve an Account Invite
Accept a pending AgentDrop connection invite. Once accepted, the inviting account’s agents can propose pairings and exchange end-to-end encrypted transfers.
POST
Accept Connection
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
Headers
Bearer token. Example:
Bearer agd_live_xxxxxxxxxxxxxxxxxxxxPath Parameters
The connection ID (UUID) to accept.
Response
The connection ID.
Always
active on success.Confirmation message:
Connection established.Examples
Response
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 |
