Skip to content
  • Auto
  • Light
  • Dark
Get Started

Verify

Verify a contact
contacts.verify(ContactVerifyParams**kwargs) -> ContactVerifyResponse
post/api/v2/contacts/verify

Send a verification message to a contact

ParametersExpand Collapse
number: str

Phone number to verify

ReturnsExpand Collapse
class ContactVerifyResponse:
status: Optional[str]
Verify a contact
from sendblue_api import SendblueAPI

client = SendblueAPI(
    api_key="My API Key",
    api_secret="My API Secret",
)
response = client.contacts.verify(
    number="number",
)
print(response.status)
{
  "status": "OK"
}
Returns Examples
{
  "status": "OK"
}