Integrations & imports
Jira CSV import, repository connections, provider settings and connected apps.
#Start a Jira CSV import into one project (beta, behind the jira_csv_import flag)
/importsHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
201A draft import; upload the CSV with purpose import_source and target import(id).application/json
#The import's state, progress, counts and first row errors
/imports/{importId}Path parameters
importIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200The import.application/json
#Cancel a queued or running import or dry run; committed batches stay
/imports/{importId}/cancelPath parameters
importIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200Cancelled (or already finished — the current state is returned).application/json
#Check the uploaded CSV against the mapping — counts and row errors, nothing written
/imports/{importId}/dry-runXM-1241: the request reads its files within integrations.import.checkTimeBudgetSeconds (one parse of the CSV, the options of the fields to create, the archive's directory); when the budget is spent, 422 integration.import_check_too_large (budgetSeconds) before anything is created — split the export. One check at a time per import and integrations.import.checksPerMinute per tenant (429 rate_limit.exceeded, limiter jira-check-import or jira-check, Retry-After; 503 service.unavailable when the counter store fails). An archive that holds none of the attachment ids the export names is 422 integration.import_file_invalid (reason layout) at /attachmentsFileId.
Path parameters
importIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
202The dry run is queued.application/json
#The profile of a file uploaded for the import, for the mapping step — rows, statuses, custom-field columns (R13; XM-1080)
/imports/{importId}/profileRead on each request from the import's own file and never stored. Holds cell values: operators are refused (403 proposal.not_proposable) before the file is opened. One profile at a time per import and integrations.import.profilesPerMinute per tenant (429 rate_limit.exceeded, limiter jira-profile-import or jira-profile, Retry-After; 503 service.unavailable when the counter store fails). The file is read once within integrations.import.profileTimeBudgetSeconds; when the budget is spent, 422 integration.import_profile_too_large (reason time, budgetSeconds); an answer larger than integrations.import.profileAnswerMaxBytes is 422 integration.import_profile_too_large (reason size, maxBytes) — the dry run still takes the file (XM-1080 fix rounds 1 and 2). One column for each field name, compared case-insensitively; unlistedColumns counts the later spellings.
Path parameters
importIdrequired | string (uuid) |
Query parameters
fileIdrequired | string (uuid) | The import_source file uploaded for import(importId). |
source | string | F-INT-09.R14 (XM-1387): the format the Admin chose in the Format choice. Absent: the source is detected by the upload's shape. No adapter, more than one, or a chosen format that does not recognise the upload answers 422 integration.import_file_invalid (reason source_unknown, source_ambiguous or source_mismatch, with candidates). One of: |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200The profile (Cache-Control no-store).application/json
#The whole row report as CSV (row, jira_key, column, code, reason, worklog_id, date, minutes) under the exports' CSV safety rule (XM-112, XM-1387)
/imports/{importId}/reportPath parameters
importIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200The CSV file (Content-Disposition attachment), UTF-8 with a byte-order mark, lines ended by CRLF; every cell guarded against spreadsheet formulas. Made from the import's row, so it is gone 30 days after the import ended.text/csv
#Run the import checked by the last dry run (same file and mapping), optionally fetching attachments
/imports/{importId}/runPath parameters
importIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
202The import is queued.application/json
#The tenant's allowed Git providers, self-managed instances, rotation default and linking switch
/integrations/provider-settingsHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200The provider settings with in-use counts.application/json
#Replace the provider settings (allowed providers, instances, rotation default and lead, linking by ticket key)
/integrations/provider-settingsHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200Saved (or unchanged); the new version.application/json
#The account's person-level grants across its tenants (v1 — the calendar feeds)
/me/connected-appsResponses
200The grants.application/json
#Disconnect a connected app — revokes the calendar feed at once
/me/connected-apps/{connectedAppId}Path parameters
connectedAppIdrequired | string (uuid) |
Responses
204Disconnected (or already gone).
No body.
#The project-centric repositories table — every project, its live connections, or a "No repository" row
/repository-connectionsQuery parameters
filter[presence] | string | One of: |
filter[projectKey] | string | Pattern |
filter[archived] | boolean | Default: |
q | string | Min length 2 · Max length 100 |
page[number] | integer | Default: |
page[size] | integer | One of: |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200One page of rows with exact counts per filter.application/json
#Connect the chosen repository with a consumed token check; the member becomes the connection's owner
/repository-connectionsHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
201Connected; a manual hook's URL and secret are returned once.application/json
#Set a connection's own rotation period (shorter than the tenant default) or reset it to the default
/repository-connections/{connectionId}Path parameters
connectionIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200Changed; the due date recomputed.application/json
#Disconnect a repository from its project; links stay as frozen history
/repository-connections/{connectionId}Path parameters
connectionIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Responses
204Disconnected (or already disconnected).
No body.
#Designate the connection's accountable owner (Admins); resumes a connection paused for "owner needed"
/repository-connections/{connectionId}/ownerPath parameters
connectionIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200Transferred.application/json
#Replace a connection's access token and webhook secret together; resumes a paused or expired connection
/repository-connections/{connectionId}/tokenPath parameters
connectionIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200Replaced; a manual hook's new secret is returned once.application/json
#Verify a pasted access token with the provider and list the repositories it can read; the token is held 10 minutes
/repository-connections/token-checksHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Request body application/jsonrequired
Loading the schema…
Responses
200The verified token's facts and repositories; never the token.application/json
Was this helpful?