Skip to content

Get an incoming webhook configuration

GET
/api/v1/incoming-webhooks/{webhook_id}
curl --request GET \
--url https://external-api.moja-ai.com/api/v1/incoming-webhooks/example \
--header 'X-API-Key: <X-API-Key>'
webhook_id
required
Webhook Id
string
X-API-Key
Any of:
string

Successful Response

Media typeapplication/json
IncomingWebhookResponse
object
id
required
Id
string
created_at
Any of:
string format: date-time
updated_at
Any of:
string format: date-time
org_id
required
Org Id
string
name
required
Name
string
description
Any of:
string
type
required
Type
string
auth_key
required
Auth Key
string
lifespan
required
Lifespan
integer
caller_id_match_days
required
Caller Id Match Days
integer
external_id
Any of:
string
Examplegenerated
{
"id": "example",
"created_at": "2026-04-15T12:00:00Z",
"updated_at": "2026-04-15T12:00:00Z",
"org_id": "example",
"name": "example",
"description": "example",
"type": "example",
"auth_key": "example",
"lifespan": 1,
"caller_id_match_days": 1,
"external_id": "example"
}

Bad Request

Media typeapplication/json
ErrorResponse
object
detail
required
ErrorBody
object
code
required
Code
string
message
required
Message
string
Examplegenerated
{
"detail": {
"code": "example",
"message": "example"
}
}

Unauthorized

Media typeapplication/json
ErrorResponse
object
detail
required
ErrorBody
object
code
required
Code
string
message
required
Message
string
Examplegenerated
{
"detail": {
"code": "example",
"message": "example"
}
}

Not Found

Media typeapplication/json
ErrorResponse
object
detail
required
ErrorBody
object
code
required
Code
string
message
required
Message
string
Examplegenerated
{
"detail": {
"code": "example",
"message": "example"
}
}

Conflict

Media typeapplication/json
ErrorResponse
object
detail
required
ErrorBody
object
code
required
Code
string
message
required
Message
string
Examplegenerated
{
"detail": {
"code": "example",
"message": "example"
}
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}

Too Many Requests

Media typeapplication/json
ErrorResponse
object
detail
required
ErrorBody
object
code
required
Code
string
message
required
Message
string
Examplegenerated
{
"detail": {
"code": "example",
"message": "example"
}
}