Documentation Index
Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
Accept a specific pending connection request. Only the receiver of the connection request can accept it.
Path Parameters
ID of the connection to accept
Response
Unique connection identifier
Connection status (will be “accepted”)
Timestamp when the request was accepted in ISO 8601 format
Error Responses
Invalid Connection ID - 400 Bad Request
{
"error": "Invalid connectionId",
"code": "connection/invalid-connection-id"
}
Unauthorized - 403 Forbidden
{
"error": "Only receiver can accept requests",
"code": "connection/unauthorized"
}
Connection Not Found - 404 Not Found
{
"error": "Pending connection not found",
"code": "connection/not-found"
}
Server Error - 500 Internal Server Error
{
"error": "Internal server error",
"code": "connection/server-error"
}
Notes
- Requires authentication
- Only the receiver of the connection request can accept it
- Updates connection status from “pending” to “accepted”
- Sets the respondedAt timestamp
- Creates a bidirectional relationship between the users
- Triggers a notification to the original requester
- Rate limiting: 50 requests per 5 minutes