There are a few ways to authenticate through the Stormboard v1 API. All requests that require authentication will return 403 Forbidden if your auth fails.
Uses your Stormboard username and password to authenticate each call to the API. This authentication method may be removed in the near future.
$header = array(); $header[] = 'Authentication: Basic '.base64_encode("user:password"); $ch = curl_init("https://api.stormboard.com/users"); curl_setopt($ch, CURLOPT_HTTPHEADER, $header); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec ($ch); curl_close ($ch);
Your API key can be found on the API tab of your Stormboard account. Use this link: https://www.stormboard.com/users/account#api
$header = array(); $header[] = 'X-API-Key: '.$api_key; $ch = curl_init("https://api.stormboard.com/users"); curl_setopt($ch, CURLOPT_HTTPHEADER, $header); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec ($ch); curl_close ($ch);
Contact support to register your OAuth client.