
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 12, 2024 01:31 PM
https://github.com/sleiman/airtable-php
I have been using this tool flawlessly and working my new Personal Token where my API key existed.
use \TANIOS\Airtable\Airtable; $airtable = new Airtable(array( 'api_key' => 'API_KEY', 'base' => 'BASE_ID' ));
When I swap out the API_KEY with my new Personal Token it doesn't work, which I suspected. What do I need to change api_key to? Is it that simple I hope! Thanks in advance!- Jon
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 13, 2024 01:45 AM
@Jon_Eynon You are correct in that you can just swap them. Have you set the correct scopes for the personal access token?
Checkout this guide for some examples.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 13, 2024 01:45 AM
@Jon_Eynon You are correct in that you can just swap them. Have you set the correct scopes for the personal access token?
Checkout this guide for some examples.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 13, 2024 12:16 PM
I was only using the first 12 digits on the personal token and not the full string. In addition, I needed to clear the cache from the server running the scripts. It was picking up the new token string. Issue solved!
