kaleyra.io SMS API Reference Testing Procedure

kaleyra.io Reference APIs enable you to test the APIs in real time.

To test the API, perform the following steps:

  1. In the URL section (right pane), click the arrow next to Base URL and the list of base URLs appears.
  1. Select the base URL based on your region.
  2. In the SID field (left pane), enter the SID from your kaleyra.io account. For more information, see View API Key and SID.
  3. In the To field, enter the number or numbers to which you want to send message.
  4. In the Sender ID field, enter the sender ID. Sender ID is required if you are using the base URL for India.
  5. In the Body field, enter the body of an SMS. If you are using the Template ID's content, then Body is not required.
  6. In the Type field, enter the route type for your SMS. The supported types are OTP, Transactional (TXN), Transactional DND (TXND), and Marketing (MKT).
  7. Enter the other required parameter details based on the API type you are using.
  8. In the api-key field, enter the API key from your kaleyra.io account. For more information, see View API Key and SID.
  9. In the Content-Type field, you can either enter the content type or you can select the default content-type. To select the default content type, click the field and then select the Use example value.
  1. Click Try It! (right pane). The response appears based on your API request and entered details.

📘

Notes: