How to authenticate with the FormBackend API
Authenticating with our API is as simple as passing the Authorization header. An example Authorization header would look like this:
GET /api/v1/me.json Authorization: Bearer exampletoken
curl -H 'Authorization: Bearer exampletoken' https://www.formbackend.com/api/v1/forms
Create an API token
In order to use the API you need to create an API token. You can do that by visiting this page or by clicking on your profile photo in the top right and then clicking on “API”.
Click the “Add API key” button. By default an API key has all permissions. Meaning you can:
- create/read forms
- read submissions
- check if a value exists
But it’s also possible to lock down a key to just one of the scopes mentioned above.