Help Center
Authentication
Token authentication is used.
Simply pass your token as a Bearer Token in your HTTP request header. No complex OAuth or dealing with expired auth tokens.
Contact us to obtain a unique token. If at any time you believe your access token has been compromised, just let us know and we’ll generate a new one for you.
GET /partners/api/schedule/events HTTP/1.1
Host: vbschedule.com
Accept: application/json
Authorization: Bearer {token}
Curl
curl https://vbschedule.com/partners/api/schedule/events
-H "Accept: application/json"
-H "Authorization: Bearer {token}"
Laravel using HTTP Client
$response = Http::withToken('token')->get(/* ... */);
Guzzle
$response = $basicauth->request(
'GET',
'partners/api/schedule/events',
['headers' =>
[
'Authorization' => "Bearer {token}"
]
]
)->getBody()->getContents();
JavaScript using Fetch API
fetch('partners/api/schedule/events', {
method: 'GET',
headers: new Headers({
'Authorization': 'Bearer <token>',
'Content-Type': 'application/json'
})
});
JavaScript using Axios
axios.defaults.headers.common = {'Authorization': `Bearer ${token}`}