Access Using API Key

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsAccess Using API Key

DreamFactory APIs can be consumed with just an API key. Each app has a unique API key that is passed as part of each request. If no session token is provided the request is considered to be from an unauthenticated user. Access is controlled by the default role assigned to the application with that API key. In other words the default role for the app specifies what resources unauthenticated users have access to.

Request:

GET https://foo.com/api/v2/db/_table?api_key=abc123efg

Note: API key can also be supplied using the X-DreamFactory-Api-Key request header.