# Message Status API 3.1.2

## Highlights

* Authentication errors now return HTTP 401 with structured JSON body
* New error codes for all error responses


This version was released on 2026-03-25

## Documentation

* **Authentication errors** now return HTTP 401 instead of 403 when the API key is missing or invalid.
The response body includes a structured error object with `code` and `message` fields.
See [Authentication](/fr/products/sms/enterprise-documentation/developer-documentation/authentication-api-status) for details.
* **Invalid path** requests now return HTTP 403 with a structured error body (`code: 3, "Invalid path"`).
* **Error codes** introduced across all error responses:
  - `1` — Message not found (404)
  - `2` — Empty or missing api-key (401)
  - `3` — Invalid path (403)


## Changes since previous version

View [Release in JIRA](https://namirial.atlassian.net/projects/SWSMSGW/versions/36897/tab/release-report-all-issues) (Namirial employees only)