submitVerification

View as MarkdownOpen in Claude

Submit the verification code received during the verification call or SMS.

Response Example

Example

1import { RestClient } from "@signalwire/sdk";
2
3const client = new RestClient({
4 project: "your-project-id",
5 token: "your-api-token",
6 host: "your-space.signalwire.com"
7});
8
9const result = await client.verifiedCallers.submitVerification("caller-id", {
10 verification_code: "123456",
11});
12console.log("State:", result.verificationState);