You are currently viewing OSF API
OSF API - My Country Mobile


My country mobile to get a sales-force package comprises an Apex assistant course that lessens the sum of code required to socialize together with My country mobile OSF API. As the Lightning parts from the package deal focus solely on SMS, the assistant class gives you the ability to compose custom made Apex to socialize to some of all My country mobile’s OSF API products and services, such as Voice and speak.

Notice: code samples are all composed in Apex; however, they are also tagged as”Java” to get syntax-highlighting functions.

My country mobile will affirm you have comprised a fair My country mobile phone number from the By parameter, subsequently queue the telephone or return a mistake.

Take a look at the total OSF API Reference to receive Messages to your entire collection of parameters you may put within your request. You may insert those with the adder part system. You may even locate the settings you may get straight back from My country mobile.

Deliver message together with Masks Managing

Utilize My country mobileApiClientResponse to recover the exact position code and error message in the petition.

This case demonstrates just how you can pull on a set of messages out of My country mobile. Automatically, this procedure will yield 50 final results. The most quantity of information in one petition is 1, 000. You may specify the number of answers is return utilizing the pageSize param.

Watch the”Get Messages together with Pagination” cases to get retrieving more substantial collections of messages.

This case illustrates how you can recover a set of messages which fit criteria that are specified. Watch this particular documentation to watch extra alternatives for text messages.

Get Messages together with pagination. 

Access all messages from your My country mobile account utilizing pagination. Inside this case, we receive another webpage URL. It’s and calls it into our My country mobile consumer—a standard instance of concept deletion.

A Messaging assistance can be a pool of mobile numbers which precisely moisturizes your message human body, suits with the receiver’s area code, also spread SMS throughout various amounts. You may read far more on the subject of Messaging products and services right here.

This code example illustrates ways to receive yourself a set of Messaging companies on your accounts. This case demonstrates how you can upgrade this”Licensed Title” of the Messaging assistance with the My country mobile API.

Taskrouter can be an API for monitoring the access to call center navigation and staff activities for the proper employee. Inside this case, we’re drawing on the present collection of available (“book”) events to get a single employee.