You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20492,6 +20492,12 @@ paths:
20492
20492
5. Generate a permanent access token
20493
20493
6. Get the WABA ID from WhatsApp Manager > Account Tools > Phone Numbers
20494
20494
7. Get the Phone Number ID from the same page (click on the number)
20495
+
20496
+
Warning: connecting subscribes your own Meta app to this WABA with an override
20497
+
callback that redirects its webhook delivery to Zernio. This WABA's events stop
20498
+
reaching any callback URL you had configured before, immediately and with no
20499
+
overlap window. Do not unsubscribe your app from the WABA afterward: that also
20500
+
cuts off Zernio's delivery, and recovery requires calling this endpoint again.
20495
20501
security:
20496
20502
- bearerAuth: []
20497
20503
requestBody:
@@ -20536,6 +20542,9 @@ paths:
20536
20542
registrationWarning:
20537
20543
type: string
20538
20544
description: 'Present when the account was created but Meta rejected the Cloud API registration. The number cannot send messages until this is resolved.'
20545
+
webhookNotice:
20546
+
type: string
20547
+
description: 'Present when the WABA webhook subscription (with the Zernio override callback) succeeded. Explains the delivery cutover and warns against unsubscribing the app from the WABA afterward.'
20539
20548
account:
20540
20549
type: object
20541
20550
properties:
@@ -20544,7 +20553,9 @@ paths:
20544
20553
username: { type: string, description: Display phone number }
20545
20554
displayName: { type: string, description: Meta-verified business name }
20546
20555
isActive: { type: boolean }
20547
-
selectedPhoneNumber: { type: string, description: The connected phone number }
20556
+
phoneNumber: { type: string, description: The connected phone number }
20557
+
verifiedName: { type: string, description: Meta-verified business name for the phone number }
20558
+
qualityRating: { type: string, description: 'Meta quality rating for the phone number (e.g. GREEN, YELLOW, RED, UNKNOWN)' }
20548
20559
example:
20549
20560
message: "WhatsApp connected successfully"
20550
20561
account:
@@ -20553,7 +20564,9 @@ paths:
20553
20564
username: "+1 555-123-4567"
20554
20565
displayName: "Acme Corp"
20555
20566
isActive: true
20556
-
selectedPhoneNumber: "+1 555-123-4567"
20567
+
phoneNumber: "+1 555-123-4567"
20568
+
verifiedName: "Acme Corp"
20569
+
qualityRating: "GREEN"
20557
20570
'400':
20558
20571
description: |
20559
20572
Invalid request. Missing fields, a `pin` that is not 6 digits, or the
0 commit comments