Skip to main content
POST
/
projects
/
{id}
/
import
Import into a project
curl --request POST \
  --url https://slog.ai/projects/{id}/import \
  --header 'Content-Type: application/json' \
  --header 'slog-api-key: <api-key>' \
  --data '
{
  "data": "<unknown>",
  "update": false
}
'
{
  "imported": {
    "id": "proj_01jqproj0001",
    "reference": "ENG-P1",
    "name": "Platform v2",
    "description": "Full rewrite of the platform backend.",
    "teamId": "team_01jqteam0001",
    "team": {
      "id": "team_01jqteam0001",
      "name": "Engineering",
      "prefix": "ENG"
    },
    "labels": [
      {
        "id": "label_01jqlabel001",
        "name": "bug",
        "color": "#EF4444"
      }
    ],
    "createdAt": "2026-04-01T08:00:00.000Z",
    "updatedAt": "2026-05-01T12:00:00.000Z"
  }
}

Authorizations

slog-api-key
string
header
required

API key obtained from the Slog dashboard or returned by the signup/invite-redeem flows. Pass as the slog-api-key header.

Path Parameters

id
string
required

Resource ID (UPID) or, for tasks and projects, the human-readable reference such as ENG-42.

Body

application/json
data
any
required

Data payload from a previous export response.

update
boolean
default:false

If true, existing records with matching IDs will be updated instead of raising a conflict error.

Example:

false

Response

Imported record.

imported
object