Skip to content

Receive Inbound Event

POST
/api/audience-destinations/inbound/{destination_id}
curl --request POST \
--url http://localhost:8000/api/audience-destinations/inbound/example \
--header 'Content-Type: application/json' \
--data '{ "external_event_id": "example", "external_record_id": "example", "fields": {}, "lead_id": 1 }'
destination_id
required
Destination Id
string
Media typeapplication/json
InboundEvent
object
external_event_id
required
External Event Id
string
>= 1 characters <= 255 characters
external_record_id
Any of:
string
<= 255 characters
fields
Fields
object
key
additional properties
any
lead_id
Any of:
integer
>= 1
Examplegenerated
{
"external_event_id": "example",
"external_record_id": "example",
"fields": {},
"lead_id": 1
}

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

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