Help & Support

Key Value Store

The SIP Sorcery key Value store is a simple table that allows storing of values referenced by a key. The provisioning operations list here are the equivalent of the database operations available in a SIP Sorcery dialplan.

The service methods available for operating on the SIP Sorcery Key Value Store.

  • GetAllKeys: GET keyvalue/getkeys,
  • Read: GET keyvalue/read?key={key}
  • Write: POST keyvalue/write where the request body is a JSON formatted key-value pair, e.g. {"key": "xxx", "value": "yyy"}.
  • Delete: GET keyvalue/delete?key={key}

The Ruby script below illustrates how to use each of the service methods for operating on key value records.