POST
/
v1
/
facebook
/
friends
/
request
curl --request POST \
  --url https://api.papercuts.ai/v1/facebook/friends/request \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-User-Token: <api-key>' \
  --data '{
  "profileNames": [
    "<string>"
  ]
}'
{
  "status": "ok"
}

Authorizations

Authorization
string
header
required

Your Papercuts API Key

X-User-Token
string
header
required

User Token received while integrating end user accounts

Body

application/json
profileNames
string[]
required

For the account with the URL 'https://www.facebook.com/BillGates/', the profile name would be 'BillGates'.

Response

200
application/json
Friend request sent successfully
status
enum<string>
Available options:
ok,
error