In order to use Raven's API, you must first create an API key for each profile that you want to use with the API.
Generate an API Key
1] Log into Raven and in the upper right, click on your user profile image to expose the preferences menu.
2] In the System Preferences section of the menu, click Profile Manager.
3] The list of profiles appears.
4] Scroll through the list of profiles to locate the one for which you'd like to generate a key and click the name. The details of that profile appear.
5] On the left side of the profile page, click the Get API Key button. This will provide you with the key for running API calls through scripts.