API Endpoints
Fetch HTTP logs
You can use this to build out your own app portal. You should consider using the prebuilt widget though
GET
/
v1
/
messages
Authorization
curl --request GET \
--url https://api.otito.dev/v1/messages \
--header 'Authorization: <authorization>'
{
"status": true,
"message": "successfully fetched messages",
"messages": [
{
"id": "36ec311f-8b87-4c9c-9951-5c1068dda94a",
"reference": "msg_AVAxrK_VR",
"domain": "live",
"ip_address": "100.00.00.00",
"status_code": 200,
"request": {
"header": {
"Accept": [
"application/json, text/plain, */*"
],
"Authorization": [
"***************"
],
"Cf-Ipcountry": [
"NG"
],
"Cf-Visitor": [
"{\"scheme\":\"https\"}"
],
"X-Forwarded-For": [
"172.71.102.77"
],
"X-Forwarded-Port": [
"443"
],
"X-Forwarded-Proto": [
"https"
],
"X-Forwarded-Scheme": [
"https"
],
"X-Scheme": [
"https"
]
},
"body": "",
"content_type": "application/json"
},
"response": {
"header": {
"Content-Type": [
"application/json; charset=utf-8"
]
},
"body": "{\"plan\":{\"name\":\"developer\",\"id\":\"784e79f4-de0d-433d-95c4-874a110c9fd9\",\"amount\":0},\"billing\":{\"has_card\":true,\"billing_portal\":\"https://billing.stripe.com/p/session/live_YWNjdF8"},\"invoices\":[{\"id\":\"78fdb79a-bbb9-4b63-a109-a697abbf9dac\",\"amount\":0,\"status\":\"paid\",\"url\":\"https://pay.stripe.com/",\"organisation_id\":\"d975ad72-c237-4213-b685-d7249773dfd9\",\"invoice_id\":\"in_1NFK6lAnSDx0BwfkKVGfG7Mp\",\"created_at\":\"2023-06-04T16:48:50.420405Z\",\"updated_at\":\"2023-06-04T16:48:50.420405Z\"}],\"status\":true,\"message\":\"fetched current plan\"}\n",
"content_type": "application/json"
},
"path": "/v1/dashboard/settings/billing",
"method": "GET",
"created_at": "2023-06-06T19:53:02.928272Z",
"updated_at": "2023-06-06T19:53:02.928272Z"
}
]
}
Response
status
boolean
Indicates whether the api call was successful.
message
string
Generic api response text
messages
array
The created application
curl --request GET \
--url https://api.otito.dev/v1/messages \
--header 'Authorization: <authorization>'
{
"status": true,
"message": "successfully fetched messages",
"messages": [
{
"id": "36ec311f-8b87-4c9c-9951-5c1068dda94a",
"reference": "msg_AVAxrK_VR",
"domain": "live",
"ip_address": "100.00.00.00",
"status_code": 200,
"request": {
"header": {
"Accept": [
"application/json, text/plain, */*"
],
"Authorization": [
"***************"
],
"Cf-Ipcountry": [
"NG"
],
"Cf-Visitor": [
"{\"scheme\":\"https\"}"
],
"X-Forwarded-For": [
"172.71.102.77"
],
"X-Forwarded-Port": [
"443"
],
"X-Forwarded-Proto": [
"https"
],
"X-Forwarded-Scheme": [
"https"
],
"X-Scheme": [
"https"
]
},
"body": "",
"content_type": "application/json"
},
"response": {
"header": {
"Content-Type": [
"application/json; charset=utf-8"
]
},
"body": "{\"plan\":{\"name\":\"developer\",\"id\":\"784e79f4-de0d-433d-95c4-874a110c9fd9\",\"amount\":0},\"billing\":{\"has_card\":true,\"billing_portal\":\"https://billing.stripe.com/p/session/live_YWNjdF8"},\"invoices\":[{\"id\":\"78fdb79a-bbb9-4b63-a109-a697abbf9dac\",\"amount\":0,\"status\":\"paid\",\"url\":\"https://pay.stripe.com/",\"organisation_id\":\"d975ad72-c237-4213-b685-d7249773dfd9\",\"invoice_id\":\"in_1NFK6lAnSDx0BwfkKVGfG7Mp\",\"created_at\":\"2023-06-04T16:48:50.420405Z\",\"updated_at\":\"2023-06-04T16:48:50.420405Z\"}],\"status\":true,\"message\":\"fetched current plan\"}\n",
"content_type": "application/json"
},
"path": "/v1/dashboard/settings/billing",
"method": "GET",
"created_at": "2023-06-06T19:53:02.928272Z",
"updated_at": "2023-06-06T19:53:02.928272Z"
}
]
}