API Reference
Authorization
Returns the authorization requirements for the given entity type (for OAuth this is typically a redirect url; for API-key/basic auth it is a jsonSchema/uiSchema form definition).
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The API Module / entity type to authorize.
hubspotOptional OAuth state value forwarded into the authorization-requirements lookup.
abc123Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Authorization requirements.
For OAuth flows, typically { type, url }. For credential/form flows, typically { type, data: { jsonSchema, uiSchema } }.
oauth2https://app.example.com/oauth/authorize?client_id=...Authorization requirements.
Processes an authorization callback (e.g. an OAuth code exchange or submitted credential form) and creates/links the credential and entity for the acting user.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}hubspotCredential and entity created/linked.
hubspot{{generatedCredentialId}}{{generatedEntityId}}Credential and entity created/linked.
Integrations
Returns integration options, the entities the user is authorized to use, and the user's existing integrations (each annotated with its available userActions).
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Integration options, authorized entities, and integrations.
Integration options, authorized entities, and integrations.
Creates an integration from a pair of entities and a config object, then runs the integration's onCreate lifecycle hook.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}["{{yourAppEntityId}}","{{targetAppEntityId}}"]The created, formatted integration.
{{integrationId}}The created, formatted integration.
Returns the integration's id, entities, status, and config.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The integration's id.
{{integrationId}}Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}The integration.
{{integrationId}}The integration.
Updates an integration's config and runs the integration's onUpdate lifecycle hook.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The integration's id.
{{integrationId}}Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}The updated, formatted integration.
{{integrationId}}The updated, formatted integration.
Runs the integration's onDelete lifecycle hook and removes the integration for the acting user.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The integration's id.
{{integrationId}}Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Integration deleted. No content.
No content
Integration deleted. No content.
No content
Returns the dynamic config-options form for the integration.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The integration's id.
{{integrationId}}Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Config options.
A dynamic options form, typically expressed as a JSON Schema plus a UI Schema consumed by the Frigg frontend.
Config options.
Re-evaluates the config-options form given the current (partial) config submission, e.g. to populate dependent dropdowns.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The integration's id.
{{integrationId}}Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Refreshed config options.
A dynamic options form, typically expressed as a JSON Schema plus a UI Schema consumed by the Frigg frontend.
Refreshed config options.
Lists the user actions available for the integration. The route is registered with .all, so it responds to any HTTP method; GET is the typical call.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The integration's id.
{{integrationId}}Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Available user actions.
Available user actions.
Returns the dynamic options form for a given user action.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The integration's id.
{{integrationId}}The user action identifier.
DELETE_ALL_CUSTOM_OBJECTSIdentifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Action options.
A dynamic options form, typically expressed as a JSON Schema plus a UI Schema consumed by the Frigg frontend.
Action options.
Re-evaluates a user action's options form given the current (partial) submission.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The integration's id.
{{integrationId}}The user action identifier.
DELETE_ALL_CUSTOM_OBJECTSIdentifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Refreshed action options.
A dynamic options form, typically expressed as a JSON Schema plus a UI Schema consumed by the Frigg frontend.
Refreshed action options.
Submits/triggers a user action on the integration (calls the integration's notify(actionId, body)). The request body is the action-specific payload.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The integration's id.
{{integrationId}}The user action identifier.
DELETE_ALL_CUSTOM_OBJECTSIdentifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Action result.
Action result.
Runs testAuth against the integration's entities and reports any authentication errors raised during the check.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The integration's id.
{{integrationId}}Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Authentication is healthy.
okAuthentication errors were detected.
Entities
Finds or creates an entity for a previously-created credential. data.credential_id is required and must reference an existing credential.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}hubspotThe found or created entity.
The found or created entity.
Returns the entity-selection options available for a credential (e.g. selectable accounts/workspaces). The credential must belong to the acting user.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The credential's id.
{{credentialId}}The API Module / entity type the credential belongs to.
hubspotIdentifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Entity options.
A dynamic options form, typically expressed as a JSON Schema plus a UI Schema consumed by the Frigg frontend.
The credential does not belong to the acting user.
Returns the entity record for the given entity id.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The entity's id.
{{entityId}}Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}The entity.
Entity not found for the acting user.
Runs testAuth against a single entity's credential.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The entity's id.
{{entityId}}Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Authentication is healthy.
okAuthentication error for this entity.
Entity not found for the acting user.
Returns the options form for an existing entity.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The entity's id.
{{entityId}}Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Entity options.
A dynamic options form, typically expressed as a JSON Schema plus a UI Schema consumed by the Frigg frontend.
Entity not found for the acting user.
Re-evaluates an entity's options form given the current (partial) submission.
Bearer token for the acting user, when the Frigg app's getUserId resolves the user from an Authorization header.
The entity's id.
{{entityId}}Identifies the acting end user, when the Frigg app's getUserId resolves the user from this header instead of a bearer token.
{{appUserId}}Identifies the acting end user's organization (app-specific).
{{appOrgId}}Refreshed entity options.
A dynamic options form, typically expressed as a JSON Schema plus a UI Schema consumed by the Frigg frontend.
Entity not found for the acting user.
Last updated
Was this helpful?
