List all sessions

GET /api/v1/apply/sessions

Returns a list of insurance application Sessions.

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 application session ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with ias_fOo123, your subsequent call can include starting_after=ias_fOo123 in order to fetch the next page of the list.

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

Responses

  • 200 application/json

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

    Hide response attributes Show response attributes object
    • The URL the contractor will be directed to if they are ineligible or decide to abandon the insurance application and return to your website.

    • created integer(int64)

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

    • expired boolean

      Indicates whether the insurance application session has expired. If true, the contractor will be redirected to the cancel_url.

    • id string
    • quote string

      The ID of the quote associated with the insurance application session.

    • step string

      The step in the insurance application process that the contractor is currently on. The contractor will be redirected to this step when they return to the insurance application. One of verify_info, application_questions, esignature_document, add_card_details, final_review, or application_complete.

      Values are verify_info, application_questions, esignature_document, add_card_details, final_review, or application_complete.

    • The URL to which 1099Policy should direct independent contractors when a contractor successfully procures insurance coverage.

    • url string

      The URL to the insurance application Session. Redirect customers to this URL to take them to their insurance application. The domain will use apply.1099policy.com.

GET /api/v1/apply/sessions
curl \
 -X GET https://api.1099policy.com/api/v1/apply/sessions
Response examples (200)
[
  {
    "id": "ias_01FZCHXE7KNQHE1T3S8AXG2QZE",
    "url": "http://apply.1099policy.com?...",
    "step": "final_review",
    "quote": "qt_5DciVga8Kt",
    "created": 1646818364,
    "expired": false,
    "cancel_url": "https://1099jobcloud.com/1099policy/cancel",
    "success_url": "https://1099jobcloud.com/1099policy/success"
  }
]