Get Connection

Get connection status, i.e. check if the calling user is connected to the specified user.
The status of the connection invitation to another user.
user Id
Session authentication token.
200: OK
400: Bad Request
Client error, see response body for further details.
401: Unauthorized
Unauthorized: Invalid session token.
403: Forbidden
Forbidden: Caller lacks necessary entitlement.
404: Not Found
Not Found: Connection cannot be found.
500: Internal Server Error
Server error, see response body for further details.

📘 Note

📘 404 Not Found

A 404 Not Found error indicates either:
  • The specified user doesn’t exist.
  • The calling user and specified user are not connected because a Create Connection request has not yet been sent.

📘 Internal Connections

Users who belong to the same private pod are implicitly connected. Getting the connection status with an internal user will return the corresponding connection object with a status of ACCEPTED.

Connection Status

Currently, there are four possible connection status:
  • PENDING_INCOMING: The specified user requested to connect with the calling user.
  • PENDING_OUTGOING: The calling user requested to connect with the specified user.
  • ACCEPTED: The two users are connected.
  • REJECTED: The two users are not connected.
Last modified 2mo ago