header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params multipart/form-data
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://rai-api.returning.ai/api/v1/servers' \
--form'name="Vise Neg"'
Responses
🟢201Created
application/json
Body
Example
{"meta":{"success":true,"message":"Server has been created successfully","devMessage":"Server has been created successfully"},"body":{"name":"Galaxy Food And Drink","image":"https://chartsnapshot.s3.amazonaws.com/apireturningai/tester/1721923616255-d763c952a89131696dd3bdf79fa0108.png","owner":{"id":"2"},"_id":"{_id}","__v":0,"id":"{_id}"}}