List all assignments

GET /api/v1/assignments

Returns a list of your assignments. The assigments returned are sorted by creation date, with the most recently created assignments appearing first.

Query parameters

  • limit integer

    A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

    Minimum value is 1, maximum value is 100. Default value is 10.

  • A cursor for use in pagination. starting_after is an assignment ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with asn_fOo123, your subsequent call can include starting_after=asn_fOo123 in order to fetch the next page of the list.

  • A cursor for use in pagination. ending_before is an assignment ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with asn_bAr123, your subsequent call can include ending_before=asn_bAr123 in order to fetch the previous page of the list.

Responses

  • 200 application/json

    Returns an array of assignment objects. If no more assignments are available, the resulting array will be empty.

    Hide response attributes Show response attributes object
    • Indicates whether to start the process of binding coverage, which includes notifying and subsequently charging the independent contractor for the premium amount due. Defaults to true. When false, 1099Policy does not notify or schedule a charge. Note that the independent contractor will not be issued coverage if bind is set to false.

      Default value is true.

    • URLs to the certificates of insurance for each of the types of coverage issued to the contractor for the specific job assignment.

      Hide certificates attributes Show certificates attributes object
      • The general liability certificate of insurance PDF URL.

      • The workers compensation certificate of insurance PDF URL.

    • ID of the contractor.

    • coverage_type array[string]

      An array of coverage types that can include one or more of the following insurance coverage values: general, professional and workers-comp. If provided, coverage type is factored into the eligibility determination (i.e., does contractor have an active workers-comp policy, etc). Defaults to the coverage types of the most recent active policy if coverage_type is not provided.

      Values are general, professional, or workers-comp.

    • created integer(int64)

      Time at which the object was created. Measured in seconds since the Unix epoch.

    • effective_date integer(int64)

      The job assignment start date, measured in seconds since the Unix epoch.

    • eligible object

      Object with the result of the insurance eligiblity check for a given job assignment.

      Hide eligible attributes Show eligible attributes object
      • message string

        A message with more detail related to the eligibility result.

      • result boolean

        The result of the insurance eligibility check.

    • end_date integer(int64)

      The projected job assignment end date, measured in seconds since the Unix epoch.

    • id string
    • job string

      ID of the job that the contractor intends to accept.

    • net_rate integer

      The amount of money the 1099 contractor pays in premium per every $100 earned.

      A positive integer representing the premium owed per $100 earned. The net_rate is stored in cents (e.g., 48 represents $0.48).

    • policy string

      ID of the policy that you want attached to the assignment. Defaults to the most recent active policy with a matching job category code, work state and contractor home state.

GET /api/v1/assignments
curl \
 -X GET https://api.1099policy.com/api/v1/assignments
Response examples (200)
[
  {
    "id": "an_TzLQszJmoP",
    "job": "jb_jsb9KEcTpc",
    "bind": true,
    "policy": "pl_WzFRszJhoY",
    "created": 1646818364,
    "eligible": {
      "result": true,
      "message": "Contractor is pre-approved for insurance coverage.,"
    },
    "end_date": 1678334737,
    "contractor": "cn_Ehb3bYa",
    "certificates": {
      "gl_coi_pdf_url": "/bound-policies/prod/gl_coi_pl_wv23Q3lMc1_1691450123.pdf",
      "wc_coi_pdf_url": "/bound-policies/prod/wc_coi_pl_wv23Q3lMc1_1691420903.pdf"
    },
    "effective_date": 1646818364
  }
]