cURL
curl --request GET \ --url https://api.example.com/api/v1/friends
{ "friends": [ { "friendship_id": "<string>", "user_id": "<string>", "display_name": "<string>", "has_agent": true, "is_agent_active": true, "thread_id": "<string>" } ], "next_cursor": "<string>", "total": 123 }
List the authenticated user’s friends.
"active"
Show child attributes
curl "https://api.ama2.me/api/v1/friends?limit=10" \ -H "Authorization: Bearer YOUR_JWT_TOKEN"
{ "friends": [ { "friendship_id": "uuid", "user_id": "uuid", "display_name": "Alice", "has_agent": true, "is_agent_active": true, "thread_id": "uuid" } ], "next_cursor": null, "total": 1 }