API ReferenceMigrationsRetrieve Migration

Retrieve Migration

GET /api/v1/payroll-migrations/{id}/

Retrieve the details of a specific payroll migration by its ID.

Authentication

Requires an API key with migrations:read scope. Pass via the X-API-Key header.

Path Parameters

ParameterTypeDescription
idstring (UUID)The unique identifier of the migration.

Response

Status: 200 OK

{
  "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
  "name": "Q1 2026 ADP to Gusto Migration",
  "source_provider": "adp",
  "target_provider": "gusto",
  "status": "pending",
  "organization": "org_abc123",
  "created_at": "2026-03-16T12:00:00Z",
  "updated_at": "2026-03-16T12:00:00Z"
}

Response Fields

FieldTypeDescription
idstring (UUID)Unique identifier for the migration.
namestringDescriptive name of the migration.
source_providerstringIdentifier of the source payroll provider.
target_providerstringIdentifier of the target payroll provider.
statusstringCurrent status of the migration.
organizationstringOrganization the migration belongs to.
created_atstring (ISO 8601)Timestamp when the migration was created.
updated_atstring (ISO 8601)Timestamp when the migration was last updated.

Errors

StatusDescription
401Missing or invalid API key.
403API key does not have migrations:read scope.
404Migration not found.

Code Examples

curl https://api.parsifyhq.com/api/v1/payroll-migrations/b2c3d4e5-f6a7-8901-bcde-f12345678901/ \
  -H "X-API-Key: YOUR_API_KEY"