
messageId- customize your message ID, so that your response contains the same ID and is easier to find otherwise, Infobip will automatically generate it for you in a response.notif圜ontentType- determines which body type to push to the server, JSON or XML.In addition to the URL, you can also specify the following fields to make the feature more robust: Use the "notifyUrl" field to specify the URL. If set up, Notify URL forwards the data as soon as the Infobip platform receives it. EC_ABSENT_SUBSCRIBER) to your callback server using a predefined URL. Use the Notify URL feature to forward Delivery Reports, message status, pricing information or GSM errors (e.g. No special configuration is needed if your goal is to deliver the message as seen in textPreview. In this case, the text will fit in one message and there will be 95 characters left. The response contains the original text (sent text) and one preview which showcases a message received by the recipient without any configuration. "textPreview": "Let's see how many characters will remain unused in this message.", "originalText": "Let's see how many characters will remain unused in this message.", Use this method to see how many characters are left ‘unspent’ in the message and if the message fits in one or more messages. transliteration - the transliteration of your sent message from one script to another used to replace characters which are not recognized as part of your defaulted alphabet.
#SEND SMS API CODE#
languageCode - language code for the correct character set.
configuration - configuration setup that should be included in advanced SMS in order to deliver textPreview message. charactersRemaining - number of remaining characters before messageCount increase. messageCount - number of messages required to deliver textPreview. textPreview - preview of the message content as it should appear on the recipient's device. originalText - original message content that was supplied for preview. The preview method can provide you with the following information: Discover the message length, a number of message parts, language, and transliteration output, etc. To avoid unpleasant surprises, use this method to preview messages before sending them out to your customers. This is very similar to our PULL action, however, logs only store your data for up to 48 hours. If you haven't set up forwarding to a specific number, check your inbound logs for any received messages. PUSH received messages automatically to your dedicated URL.īoth of these of methods require you to set up a number and a type of forwarding actions for it, so that our platform knows what to do. Refer to the Get received messages for more details. These messages are stored on our platform and you can pull them when it suits you best. PULL messages you received to your number. To receive an SMS message, or to transfer received SMS messages from our platform to yours, you can: You can also use the version of our API where parameters can be set directly in the URL. If you need advanced functionalities like validity period, transliteration, etc., use our fully featured API. For more details, visit our SMS API documentation.