Skip to main content
PUT
Error

Authorizations

Authorization
string
header
required

Flowyte secret API key (Authorization: Bearer flowyte_sk_live_…). Scope-gated; is scoped to your organization — a key can never reach another tenant. The listed scopes in each operation's apiKey requirement are the scopes that key must hold. The tokenUrl is nominal: keys are minted in the dashboard.

Path Parameters

e164
string
required

The contact's number in E.164 format (e.g. +14155551234).

Body

application/json

Evidence of express consent your business captured outside a text message.

basis
enum<string>
required

The consent basis being recorded. Only express can be asserted — conversational is recorded by the platform when the person texts you first.

Available options:
express
source
enum<string>
required

Where the person gave consent.

Available options:
web_form,
point_of_sale,
verbal,
paper,
import,
other
capturedAt
string<date-time>

When the person gave consent (RFC 3339). Defaults to now. Must not be in the future or more than four years ago.

disclosureText
string

The exact wording the person agreed to. Strongly recommended — it is the core of your consent proof. When omitted, the record says exactly: "Express consent to receive text messages from the business, attested by the workspace through the API (capture method: ). No verbatim disclosure wording was supplied."

Maximum string length: 2000
evidenceUrl
string<uri>

An https:// link to your own record of the consent (the signed form, the booking, the recording).

Maximum string length: 512
reference
string

Your own identifier for the consent event (a booking, order or form-submission id).

Maximum string length: 200

Response

Consent recorded; the contact's tier is now express. Also 200 when the contact is opted out — check optedOut.

success
boolean
required
data
object
required

The result of recording a contact's express consent.

message
string
errors
object[]