Read the observed sender for a WhatsApp owner challenge
Requires the same signed-in owner. The observed phone is available only after authenticated inbound delivery on the selected business number.
GET
Requires the same signed-in owner. The observed phone is available only after authenticated inbound delivery on the selected business number.
apiKeyheader
x-api-key<token>accountId*stringMatch
^waba_[0-9a-hjkmnp-tv-z]{16,24}$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
uuidRecipeChallengeStatus
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*stringobservedPhone*|nullconfirmedAt*string|nullimport { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.integrationCatalog.recipeWhatsAppChallengeGet({
"accountId": "example",
"id": "example"
});Example Response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"expiresAt": "string",
"observedPhone": "string",
"confirmedAt": "string"
}