openapi: 3.0.3 info: title: 'Smartwaiver API Docs' description: '' version: 1.0.0 servers: - url: 'https://api.smartwaiver.com' paths: /ping: get: summary: Ping description: 'Ping/Pong Test' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string responses: 200: description: '' content: text/plain: schema: type: string example: pong tags: - 'Api Info' security: [] /version: get: summary: "Version\nApi Version Information" description: '' parameters: - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string responses: 200: description: '' content: text/plain: schema: type: string example: 5.0.0 tags: - 'Api Info' security: [] /v4/checkins: get: summary: "List checkins for waivers\nList checkins for waivers" description: '' parameters: - in: query name: checkinId description: 'The specific checkin record you would like to get data from.' example: null required: false schema: type: string description: 'The specific checkin record you would like to get data from.' example: null - in: query name: waiverId description: 'The specific waiver you would like to get data from. A waiver can have multiple checkins if it has multiple signers' example: null required: false schema: type: string description: 'The specific waiver you would like to get data from. A waiver can have multiple checkins if it has multiple signers' example: null - in: query name: fromDts description: 'Limit to checkins after this ISO 8601 date (Must not be within the current hour) (If not provided time will default to 00:00:00). Allowed values: Must be in ISO 8601 format' example: '2018-01-01' required: true schema: type: string description: 'Limit to checkins after this ISO 8601 date (Must not be within the current hour) (If not provided time will default to 00:00:00). Allowed values: Must be in ISO 8601 format' example: '2018-01-01' - in: query name: toDts description: 'End date of checkin report (must be before current hour) (ISO in UTC)' example: '2018-01-02' required: true schema: type: string description: 'End date of checkin report (must be before current hour) (ISO in UTC)' example: '2018-01-02' - in: query name: limit description: 'Limit to this number of checkins. Default value: 20 Allowed values: 1-100' example: null required: false schema: type: integer description: 'Limit to this number of checkins. Default value: 20 Allowed values: 1-100' example: null - in: query name: offset description: 'Offset to be combined with limit to page results. Default value: 0 Allowed values 0-1000' example: null required: false schema: type: integer description: 'Offset to be combined with limit to page results. Default value: 0 Allowed values 0-1000' example: null - in: header name: Authorization description: '' example: 'Bearer [INSERT API KEY]' schema: type: string - in: header name: Content-Type description: '' example: application/json schema: type: string - in: header name: Accept description: '' example: application/json schema: type: string responses: 200: description: '200' content: text/plain: schema: type: string example: "{\n \"version\": 4,\n \"id\": \"a0256461ca244278b412ab3238f5efd2\",\n \"ts\": \"2024-05-20T20:09:53+00:00\",\n \"type\": \"checkins\",\n \"checkins\": {\n \"fromDts\": \"2018-01-01\",\n \"toDts\": \"2018-01-02\",\n \"moreCheckins\": false,\n \"checkins\": [\n {\n \"checkinId\": 12345,\n \"date\": \"2018-01-01 12:32:16\",\n \"waiverId\": \"56461ca244278b412ab3\",\n \"position\": 0,\n \"firstName\": \"John\",\n \"lastName\": \"Doe\",\n \"isMinor\": false,\n \"dateSigned\": \"2018-01-02 12:32:16\"\n \"templateId\": 12345\n }\n ]\n }\n}" 400: description: '400, Parameter Error' content: application/json: schema: type: object example: version: 4 id: a0256461ca244278b412ab3238f5efd2 ts: '2024-05-17T12:00:33+00:00' type: parameter_error message: 'Parameter is not supported' properties: version: { type: integer, example: 4, description: 'API version number' } id: { type: string, example: a0256461ca244278b412ab3238f5efd2, description: 'Uuid for request (32 characters)' } ts: { type: string, example: '2024-05-17T12:00:33+00:00', description: 'Timestamp of request' } type: { type: string, example: parameter_error, description: 'Type of response given (checkins)' } message: { type: string, example: 'Parameter is not supported' } 402: description: '402, Data Error' content: application/json: schema: type: object example: version: 4 id: a0256461ca244278b412ab3238f5efd2 ts: '2024-05-17T12:00:33+00:00' type: data_error message: 'Message explaining the invalid data entered' properties: version: { type: integer, example: 4, description: 'API version number' } id: { type: string, example: a0256461ca244278b412ab3238f5efd2, description: 'Uuid for request (32 characters)' } ts: { type: string, example: '2024-05-17T12:00:33+00:00', description: 'Timestamp of request' } type: { type: string, example: data_error, description: 'Type of response given (checkins)' } message: { type: string, example: 'Message explaining the invalid data entered' } tags: - Checkins /v4/dynamic/templates: post: summary: 'Create a dynamic template for your customer to fill out' description: "Use this route to create a dynamic template for your customer to sign. This route is very similar to the functionality provided in our JS library here. We recommend using the JS library to create your dynamic templates.\n### Need your Smartwaiver Published Key?\nCreate Your Published Key\nYour published key is a token that publicly identifies your account.\nTHIS IS NOT YOUR API KEY.\nNever publish your API Key to your website.\n\n### Versions\n\n- Smartwaiver JS 1.0.0 minified\n\n### Example Usage\n\nIt's easy to get started!\nJust simply add our Javscript library to your page and then you can use the Smartwaiver object.\n\n```\n\n