Skip to main content
POST
/
v1
/
setup
/
links
/
{token}
/
complete
Cierra el flujo Embedded Signup iniciado vía Facebook JS SDK. Recibe code + waba_id + phone_number_id, verifica state HMAC y crea el Channel.
curl --request POST \
  --url https://api.keebai.com/v1/setup/links/{token}/complete \
  --header 'Content-Type: application/json' \
  --data '
{
  "state": "<string>",
  "code": "<string>",
  "waba_id": "<string>",
  "phone_number_id": "<string>"
}
'

Path Parameters

token
string
required

Body

application/json
state
string
required

state HMAC firmado emitido por /start

code
string
required

authorization code retornado por FB.login

waba_id
string
required

WhatsApp Business Account ID provisto por el SDK

phone_number_id
string
required

Phone Number ID provisto por el SDK

mode
enum<string>
required
Available options:
embedded_signup,
coexistence

Response

200 - undefined