Skip to main content
POST
Create a consent

Authorizations

Authorization
string
header
required

Your API key from the dashboard, sent as Authorization: Bearer swippee_sk_live_....

Body

application/json
report_id
string
required
Example:

"cl_abc123"

scopes
enum<string>[]
required
Available options:
identity,
income,
liabilities,
verify,
transactions
Example:
grantee_label
string
Example:

"Nabil Bank loan desk"

expires_in_days
integer
default:30
Required range: x <= 365

Response

Consent created

id
string
token
string
data_url
string
scopes
string[]
expires_at
string<date-time>