Authentication

To access most of the endpoints in the Vexrun API, you need to authenticate your requests.
This involves using your team's unique ID and API key. You can find these credentials in the "API" tab of your dashboard.

Making Authenticated Requests

To interact with any endpoint that requires authentication, you must include the x-team-id and x-api-key headers in your request. Below is an example of how you can structure an authenticated request:

const response = await fetch("https://forms.vexrun.com/v1/forms", {
  headers: {
    "x-team-id": "...",
    "x-api-key": "...",
  },
});
curl 'https://forms.vexrun.com/v1/forms' \
  -H 'x-team-id: ...' \
  -H 'x-api-key: ...'

Regenerate Your API Key

For security and access control purposes, it's crucial to regenerate your API key if you have any concerns about its security. Never share or disclose your API key under any circumstances. If you suspect that your key's security has been compromised, take immediate action by clicking on the Regenerate API Key option to update it.