{"id":37,"date":"2026-05-29T05:39:10","date_gmt":"2026-05-29T05:39:10","guid":{"rendered":"https:\/\/gateway.sa\/blog\/?p=37"},"modified":"2026-05-29T05:39:10","modified_gmt":"2026-05-29T05:39:10","slug":"send-your-first-message-with-the-gateway-api","status":"publish","type":"post","link":"https:\/\/gateway.sa\/blog\/send-your-first-message-with-the-gateway-api\/","title":{"rendered":"Send Your First Message with the Gateway API"},"content":{"rendered":"<p>The Gateway REST API is designed to be simple and quick to integrate, so you can send your first message within minutes.<\/p>\n<h2>1. Create an API Key<\/h2>\n<p>From the dashboard, create a key and store it securely \u2014 it authenticates your requests and must never be exposed in the front end.<\/p>\n<h2>2. Send a Simple Request<\/h2>\n<p>Send a <code>POST<\/code> request with the recipient number, message text, and sender ID, and you&#8217;ll receive the message ID and status in the response.<\/p>\n<h2>3. Track Delivery Status<\/h2>\n<p>Use webhooks to receive delivery updates in real time, and integrate the results into your system with ease.<\/p>\n<h2>A Safe Test Environment<\/h2>\n<p>Use test mode to try the integration without sending real messages or consuming your balance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A quick developer guide: from creating an API key to sending your first SMS in just a few lines of code.<\/p>\n","protected":false},"author":1,"featured_media":35,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-37","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gw-demo-api"],"_links":{"self":[{"href":"https:\/\/gateway.sa\/blog\/wp-json\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gateway.sa\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gateway.sa\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gateway.sa\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gateway.sa\/blog\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":0,"href":"https:\/\/gateway.sa\/blog\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gateway.sa\/blog\/wp-json\/wp\/v2\/media\/35"}],"wp:attachment":[{"href":"https:\/\/gateway.sa\/blog\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gateway.sa\/blog\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gateway.sa\/blog\/wp-json\/wp\/v2\/tags?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}