Overview
Endpoint
Version
The current available API version is v2
only.
OAuth authentication
In order to interact with the API, your application must authenticate. Mobingi API handles this through OAuth. An OAuth token functions as a complete authentication request. In effect, it acts as a substitute for a username and password pair.
To get an OAuth token, make a POST request to:
POST /v2/access_token
Parameters
Type
Required
Details
client_id
string
yes
client_secret
string
yes
grant_type
string
yes
This value is always client_credentials
Example Request:
curl -X POST https://api.mobingi.com/v2/access_token \
-H "Content-Type: application/json" \
-d '{"grant_type":"client_credentials","client_id":"lg-5447826c870e7-xBV0OSJEN-tm","client_secret":"sFVYDoe08fxPjNgYvauYGOYCeXbOTE","grant_type":"client_credentials"}'
You can then start making API requests by passing the access_token
value to the Authorization header.
Authorization: Bearer eyJ0eXAiOiJQiLCJhbGciOMeXzQfME...
Last updated
Was this helpful?