Authentication

The API uses simple, token-based authentication. In the future, a formal ‘Transformers.cards Developer Program’ will allow you to register and generate your own API keys. For now, we have to do it for you. Contact Copperfield via email or Discord if you’re interested.

You can authenticate with the API key in the HTTP authorization bearer token header:

$ curl https://api.airtable.com/v0/appVjmNG3AukyOaQn/Bot%20Cards \
-H "Authorization: Bearer YOUR_API_KEY"

Alternatively, a slightly lower-security approach is to provide your API key with the api_key query parameter:

$ curl https://api.airtable.com/v0/appVjmNG3AukyOaQn/Bot%20Cards?api_key=YOUR_API_KEY