Request Connection
User Connection Operations
Request Connection
Send a connection request to a user
POST
Request Connection
Sends a connection request from the authenticated user to the specified user. An optional message can be included. A notification is sent to the receiving user.
Path Parameters
The Sublay user ID (UUID) of the user to send a connection request to.
Body Parameters
Optional message to include with the connection request.
Response
On success, returns HTTP201 with the created connection record:
Unique connection record ID (UUID).
Always
"pending" for a new request.ISO timestamp of when the request was sent.
Error Responses
Self-Request — 400
Self-Request — 400
User Not Found — 404
User Not Found — 404
Already Pending — 409
Already Pending — 409
Already Connected — 409
Already Connected — 409
Request Previously Declined — 409
Request Previously Declined — 409

