Skip to main content
GET
/
users
/
@me
/
relationships
List user relationships
curl --request GET \
  --url https://api.fluxer.app/v1/users/@me/relationships \
  --header 'Authorization: <api-key>'
[
  {
    "id": "<string>",
    "type": 1,
    "user": {
      "id": "<string>",
      "username": "<string>",
      "discriminator": "<string>",
      "global_name": "<string>",
      "avatar": "<string>",
      "avatar_color": 1073741823,
      "flags": 1073741823,
      "bot": true,
      "system": true
    },
    "nickname": "<string>",
    "since": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Response

Success

id
string
required

The unique identifier for the relationship

type
enum<integer>
required

The type of relationship (friend, blocked, pending, etc.)

Available options:
1,
2,
3,
4
user
object
required
nickname
string | null
required

A custom nickname set for the related user

since
string<date-time>

ISO8601 timestamp of when the relationship was established