API Reference
API Reference

Assign DID to user

Assigns a DID (Direct Inward Dialing) phone number to a user. Picks a random unreserved, unassigned DID from the pool and links it to the user via the did_user table. The DID serves as the caller ID for outgoing SMS and calls from LifeKnight. Also sends an SMS notification to the user with their new number.

Side Effects:

  • Creates did_user record (auto-logs to users.did_history via model boot event)
  • Sends SMS to user's phone with the new caller ID
Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here!