Skip to content

Gives a banana to a user​

POST
/api/users/{recipientId}/bananas

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

recipientId*
Type
integer
Required
Minimum
1

Request Body​

application/json
JSON
{
  
"message": "string"
}

Responses​

Success.

application/json
JSON
{
  
"message": "string",
  
"user": {
  
  
"id": 342528,
  
  
"name": "Franzi",
  
  
"avatar": "99d1fb45-9748-3510-ac02-87b46c40048c",
  
  
"isSleeping": null
  
},
  
"time": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​