Set SMS quota
Authentication
An auth_token should be provided to authenticate a session.
To obtain an auth_token, see the /api/v1/authenticate POST request.
An auth_token should be provided to authenticate a session.
To obtain an auth_token, see the /api/v1/authenticate POST request.
Welcome to the new emnify developer docs! These pages replace the legacy Swagger-based site, which will be removed by end of January 2026.
At any time, a new SMS quota can be set for an endpoint. At an initial state when no SMS quota is set, the endpoint will be denied from using SMS services. To top-up the SMS volume one need to retrieve the currently left volume, increase it by the top-up volume and set it as the new quota volume.
The following parameters can be configured:
status - The status of the quota (mandatory):
ACTIVEEXHAUSTEDEXPIREDvolume: The volume left on this quota in MBexpiry_date: Timestamp when this quota will expire and the endpoint will definitely be denied from using further data services (mandatory)auto_refill: Wether the quota shall be refilled on a daily basis (defaults to disabled):
disabledenabledthreshold_percentage: The percentage of remaining quota at which the system should generate a threshold reached eventaction_on_exhaustion: The behaviour of the system after the quota is exhausted:
BlockThrottle (will not take any effect on SMS quota)peak_throughput: The maximum bandwidth in octets per second after the endpoint has been throttled.
Allowed values are 64000, 128000, 256000, 384000. (will not take any effect on SMS quota)The endpoint can instantly use the SMS service after the API call is successfully made. Any timestamp with a future date can be set, this allows to create SMS packages (e.g. for 1 hour, 24 hour, 7 days or any other timeframe) as required.