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"
}
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"
}
Successful Response
The response is of type object
.