Skip to main content
Learn about the /employments endpoint. Employment objects contain information related to the employment information of the user: employment status and type, hire and termination dates, etc. The data in an employment object is tied to a particular payroll account that the user has connected via Argyle Link. High level structure of the employment object.

The employment object

Attributes

  • id (string (uuid), optional): Unique ID of the employment object associated with a user’s payroll account.
  • account (string (uuid), optional): ID of the payroll account associated with the employment object.
  • employer (string, optional): The name of the company or entity that employs the user.
  • job_title (string, optional): The current job title of the user. The value will usually be a free-form text returned from the payroll provider—for example, sales associate, driver.
  • termination_reason (string, optional): Reason for the termination event. Free-form text entry provided by the employer or payroll provider.
  • base_pay.amount (integer, optional): A fixed amount of money paid to a user, not including any bonuses, commission, or other discretionary incentives.
  • base_pay.currency (string, optional): A user’s base pay currency. Currencies follow the ISO 4217 format.
  • platform_ids.employee_id (string, optional): A unique ID assigned to a user by an employer.
  • platform_ids.position_id (string, optional): A unique ID assigned to a position by an employer.
  • platform_ids.platform_user_id (string, optional): A unique ID assigned to a user by a payroll provider.
  • metadata (object, optional): Metadata holds additional available, often unstructured, information about this data resource.

Retrieve an employment

GET /v1/employments/{id}
  • Retrieve an employment object with the supplied ID.
  • This request returns an employment object if a valid identifier was provided.

Path parameters

  • id (string (uuid), required): The identifier of the employment to be retrieved.

List employments

GET /v1/employments
  • List employment objects.
  • This request returns an object with a results property that contains an array of up to limit employment objects.

Query parameters