create_authorization
Create an authorization request that requires user approval before sending confirmations via a specific channel. This ensures consent is secured before any messages are sent.
Instructions
Create a new authorization request. Authorizations grant permission to send confirmations to a user via a specific channel. The user must approve the authorization before confirmations can be sent.
ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, then call this tool again. start_login does NOT open this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bsuid | No | WhatsApp Business-Scoped User ID (alternative to phone for WhatsApp channel) | |
| phone | Yes | Target phone number in E.164 format (e.g., +15551234567) | |
| scope | No | Authorization scope (default: confirmations) | |
| channel | Yes | Channel for sending confirmations | |
| hitl_id | Yes | HITL configuration ID to link this authorization to | |
| recipient | Yes | Channel-specific recipient identifier (chat_id for Telegram, phone/BSUID for WhatsApp) | |
| expires_in | No | Expiry in seconds (max 90 days, default 90 days) | |
| business_name | Yes | Business name displayed to user during authorization | |
| business_profile_id | No | Public profile ID for branding |