Create an API key

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

  1. In your project, open Settings > API keys.
  2. Click Create key.
  3. Enter Support bot as the Name.
  4. Keep Expires on Never.
  5. Under Permissions, keep Read and Write ticked.
  6. Click Create key. Studio shows the key once.
  7. Click the copy button beside the key.
  8. 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

  1. In your project, open Settings > Project information.
  2. Click the copy button beside the Project ID. You should now see a check mark in its place.

For an agent or a run:

  1. Open the agent or the run in your project.
  2. Click the copy button beside its ID. You should now see a check mark in its place.

Next steps