Skip to content
  • Auto
  • Light
  • Dark
Get Started

Verify

Verify a contact
client.contacts.verify(ContactVerifyParams { number } body, RequestOptionsoptions?): ContactVerifyResponse { status }
post/api/v2/contacts/verify

Send a verification message to a contact

ParametersExpand Collapse
body: ContactVerifyParams { number }
number: string

Phone number to verify

ReturnsExpand Collapse
ContactVerifyResponse { status }
status?: string
Verify a contact
import SendblueAPI from 'sendblue';

const client = new SendblueAPI({
  apiKey: 'My API Key',
  apiSecret: 'My API Secret',
});

const response = await client.contacts.verify({ number: 'number' });

console.log(response.status);
{
  "status": "OK"
}
Returns Examples
{
  "status": "OK"
}