![]() ![]() ![]() ![]() Create bases, tables, and fields - As an alternative to duplicating a base from the UI, use these API methods to programmatically create Airtable bases, tables, and fields.Manage share links - This endpoint allows admins to manage base share links throughout their organization.Create or retrieve audit logs - Request and retrieve audit logs for actions done in enterprise workspaces and bases.Clear (revoke) and/or regenerate API keys for the specified user.Manage single or multiple (batched) users - update email and/or activate/deactivate users for onboarding and offboarding purposes.Unshare a user from all enterprise workspaces, bases, and interfaces.Get user information - fetches all the information related to a single user.The API endpoints discussed below represent just some of the ways that our API can be used from an administrative/IT perspective. Example use cases are covered in the next section below. Using this alongside the Enterprise API means developers can carry out a range of programmatic functions. This allows them to more effectively organize their enterprise resources and take action when necessary.Īirtable’s scripting extension and run a script automation action allow developers to write JavaScript code embedded within their custom application. Occasionally, some teams may want to add their own metadata on top of the information pulled by an API request such as department information, managers, or billing units. The Enterprise API allows teams to manage their account programmatically outside of the Admin panel UI through actions like managing users, updating access permissions, and managing bases, tables, and views. If you accidentally reveal your API key, you should regenerate your API key as soon as possible at Using the Airtable Enterprise APIĪirtable’s Admin Panel provides an interface for reviewing users, bases, and workspaces, as well as setting enterprise-wide security settings. You would be able to use a node module in a custom app, but developing a custom app is much more work than writing a script.Do not share your API key with anyone (including anyone at Airtable) since it's effectively a password that allows access to all your bases. Instead you need to build your get request from scratch using fetch as Jonathan mentioned, including finding the exact endpoint you need to use as well as dealing with authentication and parameters. So, even if your third party api has a JavaScript module/library you cannot use it in Scripting app. One difficulty with dealing with third party APIs in Scripting app is that you cannot use libraries without some rather involved workarounds. However, you mention using a Python module, which implies that you are using the REST API from outside of the Airtable interface, as the REST API is the only Airtable API that can be used with Python.Īre you trying to move code that is outside the Airtable interface to a script run from a button inside the Airtable interface? If so, which parts are you having trouble with, getting the data from the 3rd party API, or making the updates to Airtable after you have received the data? You posted your topic under the “Scripting” app category, which is why Jonathan suggested looking at the examples in the Scripting documentation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |