Subscribers
Change PIN
Change subscriber’s 4-digit PIN
POST
Documentation Index
Fetch the complete documentation index at: https://docs.vultlocal.com/llms.txt
Use this file to discover all available pages before exploring further.
Request
Bearer olive_live_xxx or Bearer eyJ... (JWT)Path Parameters
Subscriber UUID (e.g.,
sub_abc123)Body Parameters
Current 4-digit PIN
New 4-digit PIN
Response
Whether change succeeded
Result message
Examples
PIN Rules
Format
- Exactly 4 digits
- Numbers only (0-9)
- No spaces or special characters
Security
- Cannot be same as current PIN
- Sequential patterns discouraged
- Simple patterns (1111) warned
Validation
| Rule | Invalid Example | Reason |
|---|---|---|
| Length | 123 | Must be 4 digits |
| Numeric | 12ab | Numbers only |
| Same as current | 1234 → 1234 | Must be different |
Notifications
A WhatsApp notification is sent to the subscriber when their PIN is changed.
Errors
| Status | Code | Description |
|---|---|---|
| 400 | INVALID_PIN_FORMAT | PIN must be 4 digits |
| 400 | SAME_PIN | New PIN same as current |
| 401 | UNAUTHORIZED | Invalid or missing API key |
| 401 | WRONG_CURRENT_PIN | Current PIN incorrect |
| 403 | ACCOUNT_LOCKED | Too many failed attempts |
| 404 | NOT_FOUND | Subscriber not found |
| 500 | INTERNAL_ERROR | Server error |
Related
Verify PIN
Verify a PIN without changing it
Authorizations
API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Path Parameters
Subscriber ID
Response
PIN changed successfully
The response is of type object.