Create an API key so code can act for you, with the access, expiry and limits it needs. A project key reaches that project and no other.
Before you start
You need a Veryfront account. Sign in or create one. The project is the one the key is for.
Create a key
- In your project, open Settings > API keys.
- Click Create key.
- Enter
Support botas the Name. - Keep Expires on Never.
- Under Permissions, keep Read and Write ticked.
- Click Create key. Studio shows the key once.
- Click the copy button beside the key.
- Click Done. Studio lists the key.
Call the API with it and your project's ID (Find your IDs) as PROJECT. You should now see the answer 200:
Shell
export VERYFRONT_API_KEY=vf_…export PROJECT=<id>curl -o /dev/null -w "%{http_code}\n" https://api.veryfront.com/projects/$PROJECT \ -H "Authorization: Bearer $VERYFRONT_API_KEY"Find your IDs
- In your project, open Settings > Project information.
- Click the copy button beside the Project ID. You should now see a check mark in its place.
For an agent or a run:
- Open the agent or the run in your project.
- Click the copy button beside its ID. You should now see a check mark in its place.