Auth API v3:
- POST Login
⚠️ Experimental Version
This version of the API is currently in beta and may undergo changes. For production use, please consider using the current stable version (v2).
In order to make authorized calls to Localtunity's API, your application must first obtain an OAuth access token. Authentication is handled via API key and secret provided in the request headers.
Example
- Resource URL: https://api.takeoutnearby.com//v3/auth/login
curl -X POST -H "Content-Type: application/json" -H "X-API-Key: your_api_key" -H "X-API-Secret: your_api_secret" https://api.takeoutnearby.com/v3/auth/login
Headers | |
| Content-Type: | (string, required) Must be "application/json" |
| X-API-Key: | (string, required) Your API key |
| X-API-Secret: | (string, required) Your API secret |
Response 201 Status Code
{"access_token":"e31efbd865f078d5873be3f7212d531f2127380a","expires_in":3600,"token_type":"Bearer"}