Skip to main content
POST
Submit a Discover lead

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code + PKCE (S256). Tokens are tenant-bound (company_id) and scoped. Discover endpoints via /.well-known/oauth-authorization-server.

Body

application/json

Submit a lead form to another company's Discover offer (brand->agency outreach). The sender is the token tenant; agencyCompanyId is the offer-owner agency (intentionally another company). Requires a Pro subscription. Answers are validated against the offer's lead-form config.

listingId
string
required

The Discover offer/listing id to submit the form to.

agencyCompanyId
string
required

The offer-owner agency company id (must not equal the caller).

name
string

Submitter name (validated against the offer's contact fields).

email
string

Submitter email (validated against the offer's contact fields).

phone
string

Submitter phone (validated against the offer's contact fields).

customAnswers
object

Answers to the offer's custom lead-form fields, keyed by field id.

Response

The created lead submission and delivery outcome.

data
object
required