Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Admin API key (format: sk_admin_*) for organization-level operations

Body

application/json
redirect_uri
string

The URL to redirect the user to after completing or failing the signup. Required for redirect flow, optional for popup flow.

Minimum string length: 1
Example:

"https://example.com/whatsapp/callback"

state
string

A CSRF protection token that will be returned unchanged in the redirect. Required for redirect flow.

Required string length: 1 - 512
Example:

"abc123-csrf-token"

metadata
object

Developer-provided metadata for filtering sessions by internal user IDs. Useful for platforms with multiple end-users. Maximum size: 10KB.

Example:
prefill
object

Pre-fill configuration for Facebook Embedded Signup. Auto-populates business information in the signup form. This can improve conversion by reducing manual data entry.

Example:

Response

Session created successfully

id
string
required

WhatsApp Signup Session ID

Pattern: ^wss_[a-zA-Z0-9]+$
Example:

"wss_2DbBs7GWhGvVNJGrDXr5RG0mBWI"

url
string<uri>
required

The URL to redirect the user to for completing the WhatsApp Business signup

Example:

"https://dashboard.chirp.com/embed/connect?token=abc123..."

expires_at
string<date-time>
required

When this session URL expires (15 minutes from creation)

Example:

"2024-01-15T12:30:00.000Z"