Authorizations
Create authorization
Create a new authorization request. The user must authorize a channel before confirmations can be sent via that channel.
post/api/v1/authorizations
Request
- Base URL: https://api.proof.holdings
- URL: https://api.proof.holdings/api/v1/authorizations
- Auth: HTTP bearer
Request body
Example request
{
"hitl_id": "507f1f77bcf86cd799439011",
"recipient": "123456789",
"phone": "+15551234567",
"bsuid": "US.abcdef1234567890",
"channel": "whatsapp",
"business_name": "Acme Corp",
"business_profile_id": "507f1f77bcf86cd799439011",
"expires_in": 7776000
}Response
Authorization created
Example response
{
"id": "507f1f77bcf86cd799439011",
"status": "active",
"hitl_id": "507f1f77bcf86cd799439011",
"recipient": "123456789",
"phone": "+15551234567",
"channel": "whatsapp",
"scope": "confirmations",
"business_name": "Acme Corp",
"authorization_url": "https://verify.proof.holdings/auth/abc123"
}Changes
No recorded changes to this operation across all 1 revision of this API.