POST token

In order to make authorized calls to Localtunity’s API, your application must first obtain an OAuth access token with your client credentials.

Resource URL

https://api.localtunity.com/v2/token

Example

curl -X POST -H "Content-Type: application/json" -d '{"grant_type":"client_credentials","client_id":"foo","client_secret":"bar"}' https://api.localtunity.com/v2/token

Response 201 Status Code

                    {"access_token":"e31efbd865f078d5873be3f7212d531f2127380a","expires_in":3600,"token_type":"Bearer","scope":null}                

Parameters

client_id: {your_client_id}

client_secret: {your_client_secret}

grant_type: client_credentials