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
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Target user ID

Responses

401

Unauthorized - Invalid or expired token

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json