Skip to content

SMSCs

SMSCs that deliver emergency texts and AML to Ella PSAP over SMPP.

List SMSCs

Returns every SMSC, with its accounts and sessions.

Method Path
GET /api/v1/smscs

Response Fields

Field Type Description
items array The SMSCs, by name.
items[].name string Name of the SMSC.
items[].enabled boolean Whether Ella PSAP binds.
items[].addresses array host:port of each SMSC node.
items[].texts object The account of the SMSC's emergency text service: system_id, and password as stored.
items[].aml object The account of the SMSC's AML service: system_id and password. null when the SMSC sends no AML.
items[].tls object See TLS.
items[].sessions array One session per account and address. See Sessions. Empty when the SMSC is disabled.
items[].created_at string Time the SMSC was added.

TLS

The TLS settings of an SMSC.

Field Type Description
enabled boolean TLS from the first octet.
server_name string Name the SMSC's certificate must have. Empty for the host of each address.
ca_certificate string PEM certificates that sign the SMSC's certificate. Empty for the system's.
certificate string PEM client certificate chain, for mutual TLS.
key string PEM private key of the client certificate.
insecure_skip_verify boolean Accept any certificate from the SMSC.

Sessions

One SMPP session to the SMSC.

Field Type Description
account string texts or aml.
address string The SMSC node.
status string connecting, bound or disconnected.
since string Time of the last change of status.
smsc_system_id string The system_id in the SMSC's bind response. Empty unless bound.
last_error string Why the last session failed, or the last bind was refused.
last_error_at string Time of last_error. null when there was none.
next_attempt string When Ella PSAP binds again, while disconnected. null otherwise.

Sample Response

{
    "result": {
        "items": [
            {
                "name": "ella-smsc",
                "enabled": true,
                "addresses": ["10.90.3.5:2775"],
                "texts": {"system_id": "tcc", "password": "secret"},
                "aml": null,
                "tls": {
                    "enabled": false,
                    "server_name": "",
                    "ca_certificate": "",
                    "certificate": "",
                    "key": "",
                    "insecure_skip_verify": false
                },
                "sessions": [
                    {
                        "account": "texts",
                        "address": "10.90.3.5:2775",
                        "status": "bound",
                        "since": "2026-12-01T12:00:01.204Z",
                        "smsc_system_id": "EllaSMSC",
                        "last_error": "",
                        "last_error_at": null,
                        "next_attempt": null
                    }
                ],
                "created_at": "2026-12-01T12:00:00.000Z"
            }
        ]
    }
}

Add an SMSC

Adds an SMSC that Ella PSAP receives emergency texts and AML from.

Method Path
POST /api/v1/smscs

Request Body

Field Type Required Description
name string Yes 1 to 63 lowercase letters, digits and inner hyphens.
enabled boolean No Default: true.
addresses array Yes 1 to 8 host:port.
texts.system_id string Yes 1 to 15 printable ASCII characters.
texts.password string No 0 to 8 printable ASCII characters. Default: empty.
aml object No system_id and password, as for texts. Default: null.
tls object No As in TLS. certificate and key are set together. Default: off.

Get an SMSC

Returns one SMSC with its connection state.

Method Path
GET /api/v1/smscs/{name}

Update an SMSC

Changes the settings of an SMSC, and reconnects to it.

Method Path
PUT /api/v1/smscs/{name}

The request body is as in Add an SMSC.

Delete an SMSC

Disconnects from an SMSC and deletes it.

Method Path
DELETE /api/v1/smscs/{name}