API Endpoints
Create Application
Creates a new application
POST
/
v1
/
apps
Authorization
Body
curl --request POST \
--url https://api.otito.dev/v1/apps \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'
{
"status": true,
"message": "successfully created application",
"application": {
"id": "eefa090e-49b8-42e9-9053-e509fb51748b",
"organisation_id": "16625c29-e64c-4c71-86fd-4ec44f1a7a06",
"app_name": "new app",
"metadata": {
"key": "value"
},
"reference": "app_kzC0SKlVR",
"domain": "test",
"created_at": "2023-06-06T14:45:10.433831+01:00",
"updated_at": "2023-06-06T14:45:10.433832+01:00"
}
}
Body
name
string
Name of the application
Response
status
boolean
Indicates whether the api call was successful.
message
string
Generic api response text
application
object
The created application
curl --request POST \
--url https://api.otito.dev/v1/apps \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'
{
"status": true,
"message": "successfully created application",
"application": {
"id": "eefa090e-49b8-42e9-9053-e509fb51748b",
"organisation_id": "16625c29-e64c-4c71-86fd-4ec44f1a7a06",
"app_name": "new app",
"metadata": {
"key": "value"
},
"reference": "app_kzC0SKlVR",
"domain": "test",
"created_at": "2023-06-06T14:45:10.433831+01:00",
"updated_at": "2023-06-06T14:45:10.433832+01:00"
}
}