SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
seo

Import the rows from a previewed CSV.

Import the rows from a previewed CSV.

POSThttps://app.softsolz.uk/api/v1/services/seo/sites/{site_id}/links/import

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Path Params

site_idstringrequired

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Body Params

rowsarray of array of stringss

Rows from the preview.

mappingarray of strings

Field per column from the preview.

sourcestring

gsc_csv or bing_csv.

filenamestring

Original file name, for the import history.

Response

Response Body

importobjectThe import record.
addedintegerNew links.
updatedintegerLinks already known and refreshed.
rejectedintegerRows skipped.
reject_reasonsarray of objectsWhy rows were skipped.

Request

import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.seo.importLinks('<site_id>', {});
console.log(result);

Credentials

Sent as a Bearer token. Stored only in your browser.

Response · 201

{
"data": {
"import": {},
"added": 0,
"updated": 0,
"rejected": 0,
"reject_reasons": []
}
}