# Push api
Note
all the push api requests bodies send in application/x-www-form-urlencoded format. for more details : see (opens new window)
# Push DLR's
If you don’t want to pull DLR’s, another option is to have your delivery reports pushed to your specific URL. When that’s the case you need to supply us with a URL and we will push DLR on arrival using HTTP POST request. The post parameters contain the same naming as the XML response but not as XML structure, which means it will look something like (GET equivalent):
Note
In case that the returned status code is not 200 OK we will hold the push to your URL for a while, After few failed attempts the PUSH will stop automatically.
# Push incoming SMS's
If you don’t want to pull IncomingSms's, another option is to have your delivery reports pushed to your specific URL. When that’s the case you need to supply us with a URL and we will push IncomingSms's on arrival using HTTP POST request. The post parameters contain the same naming as the XML response but not as XML structure, which means it will look something like (GET equivalent):
Note
In case that the returned status code is not 200 OK we will hold the push to your URL for a while, After few failed attempts the PUSH will stop automatically.
# Push Blacklist
If you don’t want to pull Blacklist, another option is to have your delivery reports pushed to your specific URL. When that’s the case you need to supply us with a URL and we will push Subscription blocked on arrival using HTTP POST request. The post parameters contain the same naming as the XML response but not as XML structure, which means it will look something like (GET equivalent):
Note
In case that the returned status code is not 200 OK we will hold the push to your URL for a while, After few failed attempts the PUSH will stop automatically.
# C# example
# PHP example