Skip to main content
POST
Create signup intent

Headers

Idempotency-Key
string

A UUID or other string up to 100 characters, new for each person you sign up. A repeat with the same key and email, from the same IP address, within 24 hours returns the first answer and creates nothing, so only the caller that made the request gets its link back. Any other request gets a link of its own.

Maximum string length: 100

Body

application/json
email
string<email>
required

The person's work email.

Maximum string length: 254
Example:

"pat@acmesupply.com"

company_name
string
required

The business's name, as the person gave it.

Maximum string length: 200
Example:

"Acme Supply"

revenue
enum<string>
required

Annual revenue, in US dollars or the equivalent.

Available options:
under-5m,
5-10m,
10-25m,
25-50m,
50m-plus
invoices
enum<string>
required

Number of invoices the business sends per month.

Available options:
under-25,
25-99,
100-499,
500-plus
erp
enum<string>
required

Accounting system or ERP the business uses.

Available options:
netsuite,
quickbooks,
business-central,
other,
none
website
string

The business's website, as a bare domain or a full URL.

Maximum string length: 200
Example:

"acmesupply.com"

country
string

Country the business is based in, as an ISO 3166-1 alpha-2 code.

Example:

"US"

currency
enum<string>

Currency the business invoices in.

Available options:
USD,
CAD,
EUR,
GBP,
AUD
sells_on
enum<string>[]

Where the business sells or quotes, if anywhere.

Available options:
shopify,
hubspot,
other
delivery
enum<string>[]

How the business's customers get their invoices today.

Available options:
email,
portal,
mail,
ap-portal,
edi,
not-sure
heard_from
string

How the person heard about Streamlined, in their words.

Maximum string length: 200
agent
string

Name of the assistant or product making the request.

Maximum string length: 100
Example:

"Claude"

Response

The next step for the person. signup_url and expires_at are present unless outcome is sales. A replay of the same Idempotency-Key returns this first answer again, even if its link has since been used or has expired.

outcome
enum<string>
required

The next step. See Sign up a business.

Available options:
self_serve,
choice,
sales
signup_url
string<uri>

Signup link for the person. Works for one signup, until expires_at. Absent when outcome is sales.

expires_at
string<date-time>

When signup_url stops working, 7 days after it was created. Absent when outcome is sales.