POST
Exchange FB embedded signup code for token and create progress

Body

application/json
channel_name
string
required

Display name for the new channel

Minimum string length: 1
code
string
required

Authorization code from FB SDK

Minimum string length: 1
waba_id
string
required

WABA ID from FB postMessage FINISH event

Minimum string length: 1
channel_id
string

Existing channel ID to update (if already created before OAuth)

phone_number_id
string

Phone number ID from FB postMessage FINISH event (may be absent for FINISH_ONLY_WABA)

Response

OK

channel_id
string | null
required
completed_steps
any
required
created_at
string
required
current_step
string
required
error
string | null
required
id
string
required
organization_id
string
required
phone_number_id
string | null
required
step_status
string
required
updated_at
string
required
waba_id
string | null
required