API referenceRelationships
Send a relationship request
POST
AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/relationships/requests" \ -H "Content-Type: application/json" \ -d '{ "recipientId": "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" } }}