Skip to main content
GET
/
v1
/
friends
/
requests
List pending friend requests
curl --request GET \
  --url https://api.magne.app/v1/friends/requests \
  --header 'Authorization: Bearer <token>'
[
  {
    "user": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "username": "<string>",
      "displayName": "<string>",
      "avatarUrl": "<string>",
      "status": "<string>"
    },
    "direction": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Success

user
object
direction
string

incoming or outgoing

createdAt
string<date-time>