You will need an API key with most recent API documentation.
1. First go to 'Setup'.
2. Now switch to the 'Settings' tab.
3. Click on the 'API Keys' tab.
4. Here you can see all keys previously created:
5. To create a new one click 'New API Key', from the right-hand side.
Choose the Type and click on Create Key.