Create an import run
Creates a new import run in the target organization. Returns the created record on success.
Scope: imports:write
Min role: MANAGER or higher
Endpoint: POST /api/imports
Example request
curl -X POST "https://app.guliel.com/api/imports" \
-H "Authorization: Bearer $GULIEL_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"organizationId": "abc123",
"sourceId": "abc123",
"scope": {
"entityTypes": [
"CLIENT"
]
}
}'Request body
organizationIdreqstringsourceIdreqstringscopereqobjectentityTypesreqarray<enum<4>>
uploadIdstringprofileIdstring
Response (200/201)
runreqobjectidreqstringorganizationIdreqstringsourceIdreqstringstatusreqstringentityTypesreqarray<string>uploadIdreqstring | nullprofileIdreqstring | nullcountsreqobjecterrorMessagereqstring | nullstartedAtreqstring | nullcompletedAtreqstring | null
Error responses
400 | Validation |
401 | Unauthenticated |
403 | Forbidden |
429 | RateLimit |
500 | Internal |