Skip to main content
POST
Submit a marketing lead

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Headers

Idempotency-Key
string

Stripe-style idempotency token. Pass a stable, client-generated value (1-255 chars) to dedupe retries on transient timeouts. The same key+credential+path replays the original response for 24h on 2xx (5min on 4xx, 30s on 5xx). Returns 409 if a concurrent request with the same key is already in flight; replayed responses include the Idempotency-Replay: true response header.

Required string length: 1 - 255
X-Test-Mode
enum<string>

Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.

Available options:
true,
false

Body

application/json

Contact-form lead, forwarded by the Devotel landing edge. Signed with HMAC-SHA256 over ${timestamp}.${rawBody} (header x-devotel-signature, sha256= prefix allowed), with x-devotel-timestamp within a 300-second window.

Contact-form lead, forwarded by the Devotel landing edge. Signed with HMAC-SHA256 over ${timestamp}.${rawBody} (header x-devotel-signature, sha256= prefix allowed), with x-devotel-timestamp within a 300-second window.

source
string

Originating property — e.g. devotel.io-contact, landing-page.

Required string length: 1 - 64
name
string

The contact's full name.

Required string length: 1 - 200
email
string<email>

The contact's email address.

Maximum string length: 320
company
string

Company or organization name (optional).

Maximum string length: 200
message
string

The contact's message body.

Required string length: 1 - 10000
utm
object

UTM attribution captured from the landing session. Any subset of source, medium, campaign, term, content (each ≤ 200 chars).

user_agent
string

Visitor user-agent captured at the form edge (optional).

Maximum string length: 500
referrer
string

Visitor referrer URL captured at the form edge (optional).

Maximum string length: 2000
turnstile_token
string

Cloudflare Turnstile token (cf-turnstile-response) solved by the landing form and forwarded inside the signed body. Required when the bot-protection gate is armed server-side; single-use, never persisted.

Required string length: 1 - 2048

Response

Lead accepted. data.id is the durable lead id (lead_…) and data.status is received; meta carries the standard timestamp.

Lead accepted. data.id is the durable lead id (lead_…) and data.status is received; meta carries the standard timestamp.

data
object
meta
object