Skip to main content

MetaApp

Stored in the metaapps collection. createdAt and updatedAt are maintained automatically.

Returned by GET /apps/whatsapp, POST /apps/whatsapp, GET /apps/whatsapp/verify/:id.

FieldTypeNotes
namestring
countryCodestringrequired
numberstringrequired
phonestringrequired
appIDstringrequired
appSecretstringrequired
numberIDstringrequired
businessIDstringrequired
PATstringrequired
handlesobject
handles.IMAGEstring
handles.VIDEOstring
handles.DOCUMENTstring
verifystringrequired
pinnumberrequired
verifiedbooleandefault false
authMethodstringdefault manual · one of manual, oauth
oauthProviderObjectId -> WhatsAppOAuthAppdefault null
onboardingStatusstringdefault active · one of pending, active, error
onboardingMetaanydefault null
companyIDObjectId
_idObjectIddefault "6a95712f932657988a91c067"
createdAtdateset once
updatedAtdate