Skip to main content
POST
/
users
/
friends
Add User Friends
curl --request POST \
  --url https://api-dev.monyfix.tech/users/friends \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phones": [
    "<string>"
  ]
}
'
[
{
"id": "<string>",
"phone": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"username": "<string>",
"avatar_url": "<string>"
}
]

Authorizations

Authorization
string
header
required

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

Body

application/json
phones
string[]
required

Response

Successful Response

id
string
required
phone
string
required
first_name
string | null
required
last_name
string | null
required
username
string | null
required
avatar_url
string | null
required