Flatfile
Data import: environments, spaces, workbooks and records
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Secret key (sk_…) or personal tokenSecretRequired
- RegionOptionalIdentifier5 choices
Where to find them
- Sign in at platform.flatfile.com and open “API Keys and Secrets” (platform.flatfile.com/dashboard/keys-and-secrets) in the environment you want to use (development or production).
- Copy the secret key (sk_…), never the publishable one (pk_…): each key only sees its own environment.
- Alternative: a personal access token (your profile → “Personal Access Tokens”), which acts with your permissions and works for all environments. The development environment does not use paid credits.
Tools (1)
Flatfile API request
FLATFILE_SEND_REQUESTAuthenticated call to the Flatfile API (https://{server}/api/v1). Any endpoint of the API is allowed. Responses are wrapped in “data”. Examples: GET /environments, GET /spaces?pageSize=20, GET /spaces/{spaceId}, GET /workbooks?spaceId=…, GET /sheets?workbookId=…, GET /sheets/{sheetId}/records, GET /files?spaceId=….
Required scopes
No scopes required
Input
Flatfile API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

