List Tables
Retrieve all tables in your organization
GET
/tablesRequires
Bearer authenticationRetrieve a paginated list of all tables in your organization.
Query Parameters
pageintegerPage number for pagination. Defaults to 1.
limitintegerNumber of items per page. Defaults to 50, max 100.
GET
/tablescurl -X GET "https://api.vastal.agency/v1/tables?page=1&limit=50" \ -H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch( 'https://api.vastal.agency/v1/tables?page=1&limit=50', { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } } ); const data = await response.json();
import requests response = requests.get( 'https://api.vastal.agency/v1/tables', params={'page': 1, 'limit': 50}, headers={'Authorization': 'Bearer YOUR_API_KEY'} ) data = response.json()
200Success
{ "success": true, "data": [ { "id": "tbl_abc123", "name": "Contacts", "slug": "contacts", "description": "Customer contact information", "icon": "IconUsers", "row_count": 150, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-20T14:15:00Z" } ], "pagination": { "page": 1, "limit": 50, "total": 5 } }