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
Invalid Connection ID - 400 Bad Request
Unauthorized - 403 Forbidden
Unauthorized - 403 Forbidden
Connection Not Found - 404 Not Found
Connection Not Found - 404 Not Found
Server Error - 500 Internal Server Error
Server Error - 500 Internal 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