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/v1/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/v1/token

                    {
                "access_token": "a0e526fb48c2a3b223310eec0fd7801e5c0644d2"
            }                

Parameters

client_id: {your_client_id}

client_secret: {your_client_secret}

grant_type: client_credentials