Skip to main content

New Beta: New API authentication methods, endpoints, and public API docs

  • November 15, 2022
  • 58 replies
  • 399 views

Show first post

58 replies

Will_Powelson
Forum|alt.badge.img+4
  • Participating Frequently
  • December 8, 2022

 

Hi @Artur_Mkrtchya1, sorry you're having trouble!

we are getting the following error message:

> You have reached the maximum access authorizations for this integration. You cannot authorize this integration again until you revoke at least one of the authorizations



We limit the number of active tokens per (user, OAuth integration) pair to 20. We do not limit the number of users who can authorize a single OAuth integration.

To alleviate this issue you will need to revoke some of your existing tokens from the integrations menu (accessible by clicking your user profile from the homescreen).


 is there an endpoint to pass the token and retrieve the auth scopes ? something like token info that googlesheet and others have ?


Yes, you can see the scopes and the userId of the user who authorized the token by pinging
https://api.airtable.com/v0/meta/whoami
with your access token.

I'll update the docs to make both these answers clearer.


Forum|alt.badge.img+6

Thanks a lot @Will_Powelson 

Re: https://api.airtable.com/v0/meta/whoami is there a way to know if specific base was selected or a future bases in a workspace ?

And regarding table creation API could you share why formula and lookup fields are not supported and if there is a chance we can get it sometime soon ?

 


Will_Powelson
Forum|alt.badge.img+4
  • Participating Frequently
  • December 12, 2022

 


Re: https://api.airtable.com/v0/meta/whoami is there a way to know if specific base was selected or a future bases in a workspace ? 

Not at this time. If this is a feature you'd like, it would help us if you explained your use case. The more sample use cases we know of, the easier it is to prioritize new features.

And regarding table creation API could you share why formula and lookup fields are not supported and if there is a chance we can get it sometime soon ?


I'll defer to Fred's earlier comment, to summarize: these features are more work to implement than is obvious (if I could do this over a weekend I would!) and we're unable to prioritize them right now. Sadly, I'm not in a position to offer any timelines for when these might be prioritized. 


Forum|alt.badge.img+6

@Will_Powelson thanks a lot for getting back to me.

Re: https://api.airtable.com/v0/meta/whoami endpoint it enables us to see usrId a) we would like to show user's email so they know they created OAuth Integration with given email and also enable them to see what bases and workspaces they enabled access... Right now we almost not have a useful info from this endpoint to use to be honest. Knowing user Artur enabled Access to BaseA, BaseB or workspaceA certain scopes would be very useful for user's own understanding within third party apps. 

 


Will_Powelson
Forum|alt.badge.img+4
  • Participating Frequently
  • December 13, 2022

@Artur_Mkrtchya1 Thank you for the feedback, we've heard something similar from other developers and would like to address the issue. Unfortunately we're unable to simply "hand out" this data due to legal reasons (it's personally identifiable information) so it will take a little more work on the backend e.g. adding new scopes. I doubt we can address this before the end of the beta but I will try to make forward progress.


LeanZubrezki
Forum|alt.badge.img+4
  • Participating Frequently
  • January 5, 2023

@Will_Powelson is there an estimation of when the new API will be out of beta? Are any big changes expected?


Forum|alt.badge.img+4
  • Participating Frequently
  • January 18, 2023

Hi all,

Today our team is excited to share that these new API features are now in GA! It's been great to hear the feedback we've received during public beta about our new API Auth methods making our API more secure (Personal Access Tokens and OAuth), as well as new capabilities including the metadata API, webhook API, and comments API.

We're also announcing the start of the API Keys deprecation period, which will last for 12 months and end on Feb 1, 2024, after which API Keys will no longer be able to access the Airtable API. We recommend all users to migrate to Personal Access Tokens for individual use and OAuth for third-party integrations moving forward.

For more details and any questions, please see this community post announcing the API Capabilities now in GA and upcoming API keys deprecation period.

Thank you!

Daniel, on behalf of the Airtable Team


Greg_F
Forum|alt.badge.img+18
  • Brainy
  • March 14, 2023

Hi @SeanKeenan and @Daniel_Levine 

FYI there can be legitimate use cases to connect Airtable data using mobile  -  the Oauth screen is clearly insisting on the desktop era 😉