Open a WhatsApp owner verification challenge
Requires a signed-in owner. The owner sends the returned code directly from their personal WhatsApp to the listed business number before the code expires.
POST
Requires a signed-in owner. The owner sends the returned code directly from their personal WhatsApp to the listed business number before the code expires.
apiKeyheader
x-api-key<token>accountId*stringMatch
^waba_[0-9a-hjkmnp-tv-z]{16,24}$RecipeChallengeStarted
application/json- response
id*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$Format
uuidexpiresAt*stringaddress*stringmessage*stringimport { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.integrationCatalog.recipeWhatsAppChallengeBegin({
"accountId": "example"
});Example Response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"expiresAt": "string",
"address": "string",
"message": "string"
}