API Key - My Country Mobile

API Keys could be provisioned and revoked by Way of the Remainder API and also the My country mobile Console. It allows a strong and adaptable simple for handling accessibility into this My country mobile API.

By way of instance, you may issue different API Keys to distinct programmers or into distinct subsystems within the own application. Due to the fact API Keys could be individually reversed, you’ve got total Charge of this number life cycle of one’s API qualifications.

In case your usage instance necessitates API Keys to obtain the / / Accounts or / / Keys end-point, then a master-key should be properly used. This is sometimes established from the Console.

Crucial Houses

Resource Properties at Node.js structure

sid

SID Perhaps Not PII

The exceptional series that we designed to recognize exactly the essential useful Resource.

The series that you simply delegated to spell out precisely the reference.

The time and date in GMT that the reference is made give in RFC 2822 structure.

The time and date in GMT that the reference was update given in RFC 2822 format.

Produce a fresh API Crucial

When a fresh API Essential is made successfully, then My country mobile will react to having a rendering of this brand new API crucial.

This representation will probably soon be just like that came back if pulling an SMS API Essential’s case Re-Source, but may even have the magic formula niche.

POST 

You might just delete Keys by authenticating together with your accounts’ Account Sid along with AuthToken or even API Keys which possess the learn secret flag place from the game console.

Parameters

It might be as much as 64 characters.

When powerful, My country mobile will react to having a rendering of this brand new API crucial. This representation will probably soon be precisely the very same as this came back by devoting a GET into the API Secret’s case useful Resource, but the magic formula discipline is going to be contained.

Produce a fresh API Crucial

A default API Crucial

Produce a fresh termed API Crucial

An API Vital using all the FriendlyName, Within This instance “Consumer Joey”.

For stability reasons, the API Essential’s top secret is merely coming back, once the API Secret is created. Your program must keep the API Important’s Sid and Magic Formula at a Safe place to authenticate into the API and create accessibility Tokens Later on.

Bring an Essential source

GET

Returns a representation of this API Crucial.

For stability reasons the magic formula discipline is just coming back once the API Crucial is create — not once yanking the source.

SID of this Account which made the Essential source to bring.

My country mobile-provided series that visually explains the essential useful Resource to bring.

Catch an API Crucial

Remember That the API Important’s secret area is at the outcome signal of this case. As mention previously, Key areas are returned once the API Crucial is creating.

Catch an API Crucial

A good illustration fetching of the API Crucial.

See a Central source

GET

Returns a list of API Keys inside these accounts Sorted by date updated.

The checklist comprises all API Keys. Also, it has paging facts.

SID of this Account which made the Essential tools to see.

Go Through Keys

Retrieve each of the API Keys within an account up Date an Essential source

POST

Https://api.my country mobile.com/2010-04-01/Accounts/undefined/ / Keys/undefined. JSON

Efforts to upgrade Disciplines of the API Vital example.

When effective, it yields the upgraded reference representation. The answer will probably be equal to this of those HTTP gets (draw ).

Parameters at Node.js arrangement

accounts

Course

Publish SID Perhaps Not PII

The SID of this Account which made the Essential tools to upgrade.

Sid

Course

Publish SID Perhaps Not PII

My country mobile-provided series that visually explains the essential Resource to upgrade.

A descriptive series that you just make to spell out precisely the reference. It might be as much as 64 characters.

DELETE

Https://api.my country mobile.com/2010-04-01/Accounts/undefined/ / Keys/undefined. json

Deletes an API Crucial

This revokes its permission to authenticate into the others API and also invalidates all-access Tokens created with its secret.

In case the delete is powerful, My country mobile will come back an HTTP 204 reaction free of human anatomy.

You might just delete Keys by authenticating together with your accounts’ Account Sid along with AuthToken or even API Keys which possess the learn secret flag place from the game console.

SID of this Account which made the Essential tools to manually delete.

My country mobile-provided series that visually describes the essential useful Resource to disable.

Publish a Central source

Upgrades having the API secret

With a helper library to your own terminology of one’s own choice, you should use your own API keys to both authenticate and make use of the My country mobile relaxation API.

DID Number ProviderSms ServicesVirtual Phone Numbers (DIDs)Voice TerminationVoip providersVoip RoutesWholesale VoiceWholesale VoIP