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.
Decline a specific pending connection request. Only the receiver of the connection request can decline it.
Path Parameters
ID of the connection to decline
Response
Unique connection identifier
Connection status (will be “declined”)
Timestamp when the request was declined 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 decline 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 decline it
- Updates connection status from “pending” to “declined”
- Sets the respondedAt timestamp
- Prevents the original requester from sending new requests (only receiver can re-initiate)
- No notification is sent to the requester
- Rate limiting: 50 requests per 5 minutes