{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/it/products/sms/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Authentication","description":"Integration and usage documentation."},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"authentication","__idx":0},"children":["Authentication"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To use the Message Status API, authenticate with:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API KEY"]}," by entering the credentials provided by the Namirial support."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ensure you include the following headers in your request:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-Api-Key: YOUR_API_KEY"]}," (replace YOUR_API_KEY with your actual API key)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X GET https://sms-apistatus.test.namirialtsp.com/api/messagestatus/YOUR_MESSAGE_ID \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\" \n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting-authentication-issues","__idx":1},"children":["Troubleshooting Authentication Issues"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Common authentication errors and solutions:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"HTTP Status"},"children":["HTTP Status"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Error code"},"children":["Error code"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Error"},"children":["Error"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Solution"},"children":["Solution"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["401"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Empty or missing api-key"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Verify that the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-Api-Key"]}," header is present and contains a valid API key for the target environment"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Invalid path"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The requested path does not exist. Verify the endpoint URL"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["401 — Unauthorized"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"error\": {\n    \"code\": 2,\n    \"message\": \"Empty or missing api-key\"\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["403 — Invalid path"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"error\": {\n    \"code\": 3,\n    \"message\": \"Invalid path\"\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For the full list of the environments, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/it/products/sms/enterprise-documentation/developer-documentation/apistatus-references"},"children":["API References"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-to-get-api-credentials","__idx":2},"children":["How to get API Credentials"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Submit a request through the Namirial support portal."]}]},"headings":[{"value":"Authentication","id":"authentication","depth":1},{"value":"Troubleshooting Authentication Issues","id":"troubleshooting-authentication-issues","depth":2},{"value":"How to get API Credentials","id":"how-to-get-api-credentials","depth":2}],"frontmatter":{"seo":{"title":"Authentication"}},"lastModified":"2026-03-25T11:36:56.000Z","isTranslationFallback":true,"pagePropGetterError":{"message":"","name":""}},"slug":"/it/products/sms/enterprise-documentation/developer-documentation/authentication-api-status","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}