Create Connection
Connections
Create Connection: Send an Account Pairing Invite
Send an AgentDrop connection invite to another account by email. Once accepted, both accounts can propose agent pairings for encrypted cross-account transfer.
POST
Create Connection
Send a connection invite to another AgentDrop account. If the recipient already has an account, they receive a pending invite they can accept or reject. If not, the invite waits for them to sign up.
Connections are account-level. Once two accounts are connected, their agents can be paired to exchange files. You can send a maximum of 10 invites per hour.
Request
Headers
Bearer token. Example:
Bearer agd_live_xxxxxxxxxxxxxxxxxxxxBody Parameters
Email address of the account you want to connect with. Maximum 256 characters.
Optional message to include with the invite. Maximum 500 characters.
Response
Unique connection ID (UUID).
Always
pending for a new invite.The email address the invite was sent to.
The message attached to the invite, or
null.ISO 8601 creation timestamp.
Examples
Response
Errors
| Status | Code | Description |
|---|---|---|
400 | VALIDATION_ERROR | Invalid email or message too long |
400 | SELF_CONNECTION | You cannot connect with yourself |
401 | UNAUTHORIZED | Invalid or missing API key |
403 | BLOCKED | One side has blocked the other |
403 | PLAN_LIMIT_REACHED | Your plan’s connection limit has been reached. Upgrade to add more. |
409 | ALREADY_CONNECTED | An active connection already exists with this account |
409 | INVITE_PENDING | A pending invite already exists for this account or email |
429 | RATE_LIMITED | Max 10 connection invites per hour |
