{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/fr/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 SMS Gateway API methods, you must authenticate using:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["HTTP Basic Authentication"]}," using credentials provided by the Namirial support."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All API requests require HTTP Basic Authentication using your SMS account credentials:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST https://sms.namirialtsp.com/api/Services/send \\\n  -u username:password \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"destination\": \"+1234567890\", \"text\": \"Hello World\"}'\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"},"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":["Missing or invalid credentials"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Verify that you are using the correct credentials for the target environment"]}]},{"$$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":["Expired credentials"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contact Namirial support to renew expired credentials"]}]},{"$$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":["Insufficient privileges"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your account does not have the required role to access this endpoint. Contact Namirial support if you believe this is an error"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ensure you are using test credentials with test endpoints and production credentials with production endpoints."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For the full list of the environments, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/fr/products/sms/enterprise-documentation/developer-documentation/api-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 to 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-14T10:17:39.000Z","isTranslationFallback":true,"pagePropGetterError":{"message":"","name":""}},"slug":"/fr/products/sms/enterprise-documentation/developer-documentation/authentication","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}