Skip to content
ProductBlogOpen console
API

Fetch a single active bot

GET
/bots/{id}
curl --request GET \
--url 'https://mw.omazy.ai/api/v1/bots/example?app_id=example' \
--header 'Authorization: <Authorization>'
id
required
string

Bot UUID

app_id
required
string

App UUID (tenant scope)

OK

Media typeapplication/json
object
data
error
object
code
string
message
string
meta
object
next_cursor
string
page
integer
per_page
integer
total
integer
success
boolean
data
object
accent_color
string
app_id
string
brand_color
string
category
string
city
string
contact_email

Contact / social — for the bot profile page.

string
contact_phone
string
contact_website
string
country

Region — surfaced on Discover for region-aware filtering.

string
cover_url
string
created_at
string
description
string
icon_url
string
id
string
is_active
boolean
is_featured
boolean
kind

Lifecycle (#165). Defaults from the migration keep existing rows safe: kind=‘nobot’, status=‘draft’ (back-filled to ‘published’ for rows where is_active=true at migration time), presence=‘offline’.

string
name
string
presence
string
rating
number
region
string
slug
string
social_links
Array<integer>
status
string
tagline
string
updated_at
string
Examplegenerated
{
"data": {
"accent_color": "example",
"app_id": "example",
"brand_color": "example",
"category": "example",
"city": "example",
"contact_email": "example",
"contact_phone": "example",
"contact_website": "example",
"country": "example",
"cover_url": "example",
"created_at": "example",
"description": "example",
"icon_url": "example",
"id": "example",
"is_active": true,
"is_featured": true,
"kind": "example",
"name": "example",
"presence": "example",
"rating": 1,
"region": "example",
"slug": "example",
"social_links": [
1
],
"status": "example",
"tagline": "example",
"updated_at": "example"
},
"error": {
"code": "example",
"message": "example"
},
"meta": {
"next_cursor": "example",
"page": 1,
"per_page": 1,
"total": 1
},
"success": true
}

Bad Request

Media typeapplication/json
object
data
error
object
code
string
message
string
meta
object
next_cursor
string
page
integer
per_page
integer
total
integer
success
boolean
error
object
code
string
message
string
Examplegenerated
{
"data": "example",
"error": {
"code": "example",
"message": "example"
},
"meta": {
"next_cursor": "example",
"page": 1,
"per_page": 1,
"total": 1
},
"success": true
}

Unauthorized

Media typeapplication/json
object
data
error
object
code
string
message
string
meta
object
next_cursor
string
page
integer
per_page
integer
total
integer
success
boolean
error
object
code
string
message
string
Examplegenerated
{
"data": "example",
"error": {
"code": "example",
"message": "example"
},
"meta": {
"next_cursor": "example",
"page": 1,
"per_page": 1,
"total": 1
},
"success": true
}

Not Found

Media typeapplication/json
object
data
error
object
code
string
message
string
meta
object
next_cursor
string
page
integer
per_page
integer
total
integer
success
boolean
error
object
code
string
message
string
Examplegenerated
{
"data": "example",
"error": {
"code": "example",
"message": "example"
},
"meta": {
"next_cursor": "example",
"page": 1,
"per_page": 1,
"total": 1
},
"success": true
}