cURL
curl --request PUT \ --url https://api.replyke.com/api/v6/:projectId/connections/:connectionId/accept
{ "id": "<string>", "status": "<string>", "respondedAt": "<string>" }
Accept a pending connection request
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" }