API referenceRelationships
Get relationship status with a user
GET
AuthorizationBearer <token>
In: header
Path Parameters
userId*string
Length
1 <= length <= 128Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/relationships/post_01K4Y6P8K2"{ "userId": "post_01K4Y6P8K2", "status": "none", "incomingRequest": { "id": "post_01K4Y6P8K2", "senderId": "post_01K4Y6P8K2", "recipientId": "post_01K4Y6P8K2", "createdAt": "2026-09-09T12:00:00Z", "user": { "id": "post_01K4Y6P8K2", "username": "string", "displayName": "string", "relationship": "none" } }, "outgoingRequest": { "id": "post_01K4Y6P8K2", "senderId": "post_01K4Y6P8K2", "recipientId": "post_01K4Y6P8K2", "createdAt": "2026-09-09T12:00:00Z", "user": { "id": "post_01K4Y6P8K2", "username": "string", "displayName": "string", "relationship": "none" } }}