Waved APIDevelopers API

POST :

api/v1/auth/token

cURL

curl -X POST https://api3.waved.co/api/v1/auth/token \ 
-H 'Content-Type: application/json' \ 
-H 'client_id: YOUR-CLIENT-ID' \ 
-H 'client_secret: YOUR-CLIENT-SECRET' \ 
-d '{ "venue_connection_code": VENUE-CONNECTION-CODE }'

About the endpoint

This endpoint is used to create a token that links you, the client, to a venue (a Waved customer).

The token is used to authenticate your requests to the API. The token is valid until revoked by the venue. If you need a new token, you can request one from teh venue.

You need to ask a venue for their venue_connection_code. This is a unique code that identifies the venue in the Waved system.

The venue_connection_code can be found in the Waved App under Settings --> Venue Information --> Venue Connection Code.

Return Object

{
  "token": "<string>",
  "token_type": "<string>",
  "active": "<boolean>",
  "venue": {
    "venue_name": "<string>",
    "address": "<string>",
    "timezone": "<string>"
  }
}