Knowledge
Register provider resources
Create or update source records from provider resources. Step 2 of the connected-source flow.
POST
Creates or updates source records for the resources you discovered with List provider resources, and returns the resulting source IDs in the wire-format fields
addedDocumentIds and updatedDocumentIds.
Headers
string
required
Bearer token containing your Fini workspace API key. Format:
Bearer fini_... The key needs write scope.string
required
application/jsonPath parameters
string
required
Provider name. Supported values:
notion, zendesk, confluence. Must match a provider that’s already connected in the workspace.Body parameters
array
required
Array of resource objects to register. Each resource accepts the fields below.
Response
array
Source IDs for resources that were newly registered.
array
Source IDs for resources that already existed in the workspace and had their metadata updated.
Next step
Pass the returnedaddedDocumentIds and updatedDocumentIds into Ingest sources:
- Put new IDs into
documentIdsToAddto ingest them for the first time. - Put existing IDs into
documentIdsToRefreshto re-process them.
Errors
400 Bad Request
400 Bad Request
The provider is not supported on the public route, not connected in the workspace, or one of the resource objects is missing required fields (
originalUrl, title, externalId, mimeType).403 Forbidden
403 Forbidden
The API key doesn’t include the
write scope, or it’s scoped to a different workspace.The response returned IDs but nothing is processing
The response returned IDs but nothing is processing
Expected. This route only creates source records. It doesn’t queue ingestion. Call Ingest sources with the returned IDs to start processing.

