Endpoint reference
api/v1/auth/token
This endpoint is used to create a token that links you, the client, to a venue (a Waved customer).
https://api3.waved.coClient credentials + venue connection codeThe full migrated endpoint description and response example are preserved below. They must be checked against the authoritative API contract before publication.
Migrated reference
The complete public source content is preserved below. Examples still require technical verification before launch.
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 the 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>"
}
}