Skip to main content
POST
Start the 48-hour Pro pass with an email and an invite code

Body

application/json
email
string<email>
required
Example:

"you@example.com"

accept_terms
enum<boolean>
required

Must be true: you accept the Terms of Service at https://ironflow.sh/terms (else 400 TERMS_NOT_ACCEPTED)

Available options:
true
Example:

true

code
string
required

The single-use invite code

Example:

"ABCD-EFGH-JKLM-NPQR"

use_case
string
required

What you are building; without it the answer is 400 USE_CASE_REQUIRED

Required string length: 10 - 200
Example:

"a liquidation alert bot for BTC and ETH"

Response

The account, its key and the pass were made.

eligible
boolean
required

Whether this account may start its pass now

hours
integer
required
Example:

48

gives
string
required
pass
object | null
required

The account's pass; null when it never had one.

key
string
required

The new free API key

Example:

"if_..."

email
string
required

Where the key email went

Example:

"you@example.com"

first_call
string
required

A first call with the key

code
enum<string>

Why not, when eligible is false

Available options:
PRO_PASS_ACTIVE,
PRO_PASS_USED,
PRO_PASS_PLAN,
PRO_PASS_PAID_PRO,
PRO_PASS_NOT_ELIGIBLE
reason
string

The same in plain words

start
string

The call that starts the pass

account
string

The masked email of a signed link's account

Example:

"t***@e***.com"

message
string

Present on POST