Skip to main content
POST
Create a router

Authorizations

Authorization
string
header
required

LeadConduit uses HTTP Basic Authentication with the username API and your API key as the password.

For example: API:1f1b96c9150d8050e858c043d543bb4eadae0e6f'

Body

application/json

Create a new Router

A router is a single lead-submission endpoint that's able to distribute lead submissions to any one of an account's various Flows, based on evaluation of rules.

The rules of every route are evaluated against the lead, and the last route that matches selects the Flow and Source.

Only one Router for a given integration module-id should exist in an account.

module_id
string

The unique identifier of the integration module

Example:

"leadconduit-salesforce.outbound.create_contact"

routes
object[]

The routes to be evaluated by this router

Response

201 - application/json

Created

id
string
read-only

ID of this router

Pattern: ^[0-9a-fA-F]{24}$
Example:

"5fd4371e940df5a34a3888b2"

module_id
string

The unique identifier of the integration module

Example:

"leadconduit-salesforce.outbound.create_contact"

routes
object[]

The routes to be evaluated by this router

created_at
string<date-time>
read-only
updated_at
string<date-time>
read-only