xYago APIv1

Sandbox

With an xy_test_... key you work against the sandbox: same URL, same responses and same errors as production, but with example data and without touching the company's real data.

How it behaves

Useful example data

DataValue
Employees (external_id)ERP-0001 (active), ERP-0002 (active, fixed-term contract), ERP-0003 (inactive)
Phone numbers in use+573000000001, +573000000002, +573000000003 → creating an employee with one of them returns 409 employee_already_exists
AreasOperaciones (root), Almacen (child of Operaciones), Administracion
curl "https://api.xyago.com/v1/employees?external_id=ERP-0001" \
  -H "Authorization: Bearer $XYAGO_API_KEY"

Before going live

The sandbox does not replace a test with real data: live has effects the sandbox does not reproduce (notifications to employees, calendar, the company's vacation rules). Do the first real load with a few employees.