Add your mobile number for alert texts
POST
Texts a six-digit code to the number from the workspace's own texting number, through the same destination checks and trust limits as any text the platform starts. Nothing is texted to the number until it is confirmed. At most three numbers a day.
Requires an API key with the workspace:write scope.
apiKeyheader
AuthorizationBearer <token>A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.
application/json- body
number*stringYour mobile number with its country code, for example +14155550142.
The mobile, now waiting for the code that was texted to it
application/json- response
status*stringValue in
"none""waiting""confirmed""stopped"last4*string|nulltextsUnavailable*|Value in
"no_texting_number""not_trusted_yet"nullalertTextsPerDay*integer|nullcurl -X POST https://api.vlayers.ai/v1/members/me/mobile \ -H "Authorization: Bearer $VOICELAYER_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "number": "+14155550142" }'Example Response
{ "status": "waiting", "last4": "0142", "textsUnavailable": null, "alertTextsPerDay": 20}