Attach year-to-date payroll files to a legal entity’s payroll migration import, created on the first call. Upload each file to the Deel file service first and pass the id and secret it returns. The import stays IN_PROGRESS until submitted; attaching files to a submitted one reopens it. Atomic: one rejected file stores nothing. Error codes: 400 FILE_CLAIM_FAILED, 401 UNAUTHORIZED, 403 FORBIDDEN, 403 PAYROLL_MIGRATION_IMPORT_DISABLED, 404 NOT_FOUND, 409 DUPLICATE_IMPORT_FILE, 500 INTERNAL_SERVER_ERROR.
Token scopes: global-payroll:write
The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/