Friends
Send Friend Request
Cards
Collections
Friends
Api Keys
Members
Profiles
Review
Share
User
- PATCHSet Preferences
- PUTSet Preference Flag
- PUTSet Feature Preview Flag
- GETGet User Email Addresses
- GETGet Email
- DELDelete Email
- PUTMake Email Primary
- GETCheck Auth
- GETCheck If Fresh Access Token
- GETGet Current User
- PUTUpdate Current User
- PUTUpdate Current User Bio And Pic
- GETGet Pins
- PUTUpdate Pins
Friends
Send Friend Request
POST
/
v1
/
friends
curl --request POST \
--url https://api.supernotes.app/v1/friends \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"email_or_username": "<string>"
}'
{
"other_user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"bio": "<string>",
"photo": "<string>"
},
"modified_when": "2023-11-07T05:31:56Z"
}
Authorizations
Body
application/json
Required string length:
3 - 32
Response
200
application/json
Successful Response
curl --request POST \
--url https://api.supernotes.app/v1/friends \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"email_or_username": "<string>"
}'
{
"other_user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"bio": "<string>",
"photo": "<string>"
},
"modified_when": "2023-11-07T05:31:56Z"
}