Caller's social-graph relationship with this user
GET /users/{ref}/relationship
The single round-trip the profile page
consumes to decide which “Follow/Unfollow/Blocked/Block”
button to render. Reports both directions of follow + the
bidirectional block bit. Anonymous callers receive an
all-false response (still 200) since the relationship is
anchored on the caller; client code can short-circuit
rendering on is_self.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Relationship snapshot.
Caller’s relationship with the target user.
Profile pages consume this in one round-trip to decide which
Follow/Unfollow/Block/Unblock button(s) to render. is_self
short-circuits all the other flags.
object
True when the caller IS the target — UI hides social buttons.
Caller follows target.
Target follows caller.
Caller has blocked target. Implies social hide on both sides.
Target has blocked caller. Implies social hide on both sides.
Authentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Resource not found
object
Human-readable error summary
Example
the request could not be completed