Create connect link
https://whatsapp.paaltech.org/api/v1/businesses/{external_id}/whatsapp/connect
Token ability:
connections.manage
ยท Authentication
A one-time link to PaalChat's hosted "Connect WhatsApp" page (Meta Embedded Signup) for
this business. Redirect the business's administrator to url. Valid for 72 hours and
until used successfully; a new link cancels older unused ones. Success triggers a
whatsapp.connection callback with event: connected. Treat the link as a secret.
Path parameters
external_id
string
required
Your own ID for the business (Multi-SKUUL - the tenant ID).
Max 191 characters. Pattern ^[A-Za-z0-9._:-]+$.
Body parameters
return_url
string
https URL offered to the user after success; whatsapp=connected is added to its query.
Its origin must be registered for your product by PaalTech (for example
https://*.skuuls.paaltech.org); any other URL is refused with return_url_not_allowed.
Max 2048 characters.
Responses
Link created.
unauthenticated - missing, invalid, revoked or expired token
missing_ability, product_suspended or product_token_required
not_found - not yours, or does not exist
business_suspended - the business is suspended on PaalChat.
validation_failed (fields invalid), or return_url_not_allowed (the return_url's origin is not registered for your product).
rate_limited - over 300 requests/minute for this product
Errors always look like {"error": {"code", "message"}} - see Errors and status codes.