Skip to main content
POST
Create amqp subscription

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234_abcdef

Body

application/json
connection_string
string
required

Connection string of the following structure "scheme://username:password@host:port/virtual_host". The scheme must be amqp or amqps, the port must be a valid TCP port, and the host must resolve to a public address (private, loopback, link-local and metadata addresses are rejected with a 400).

Examples:

"amqps://guest:guest@93.184.216.34:5671/user_action_events"

"amqps://guest:guest@broker.example.com:5671/user_action_events"

exchange
string | null

Exchange name

Example:

null

receive_child_client_events
boolean
default:false

Set to true if you would like to receive user action logs of all clients with the reseller_id matching the current client_id. Defaults to false

Example:

false

routing_key
string | null

Routing key

Example:

"foo"

Response

204

No Content