operation get api v1 policies parameter.md
Retrieve a policy
GET /api/v1/policies/{policy}
Retrieves the details of an existing policy. Supply the unique policy ID from either a policy creation request or the policy list, and 1099Policy will return the corresponding policy information.
Servers
- Production server: https://api.1099policy.com (Production server)
Parameters
Path parameters
- policy (string)
The ID of the desired policy (e.g.,pl_WzFRszJhoY).
Responses
200
Returns a policy object if a valid ID was provided.
Body: application/json (object)
certificates (object)
created (integer(int64))
effective_date (integer(int64))
A timestamp used to determine the insurance policy start date. Measured in seconds since the Unix epoch. The default effective_date is the next day.expiration_date (integer(int64))
A timestamp used to determine the insurance policy end date. Measured in seconds since the Unix epoch. The default expiration_date is 30 days after the effective_date.id (string)
pdf_url (string)
A URL for the hosted insurance policy PDF, which contractors can view.quote (string)
The ID of the quote used to create the policy.status ()
One ofactive,cancelled, orexpired.