{
  "info": {
    "_postman_id": "apeiron-e911",
    "name": "Apeiron API - E911",
    "description": "E911 address registration, dynamic E911 (validate, locations, endpoints), and number-to-address associations.\n\nCollection Version: 1.0.0\nBase URL: https://api.apeiron.io/v2\nAuth: HTTP Basic (email + API token) or JWT Bearer token\nAPI Reference: https://api.apeiron.io/v2/",
    "version": "1.0.0",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "basic",
    "basic": [
      {
        "key": "username",
        "value": "{{username}}",
        "type": "string"
      },
      {
        "key": "password",
        "value": "{{api_token}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://api.apeiron.io",
      "type": "string"
    },
    {
      "key": "username",
      "value": "",
      "type": "string"
    },
    {
      "key": "api_token",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "E911",
      "description": "E911 endpoints",
      "item": [
        {
          "name": "List E911 Addresses",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911"
              ]
            },
            "description": "List all added E911 Addresses"
          }
        },
        {
          "name": "Add E911 Address",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911"
              ]
            },
            "description": "Validates and adds an address for E911. Note that a new E911 Address will need to be assigned numbers with the E911 feature enabled",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "street_address_1",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "street_address_2",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "city",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "state",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "postal_code",
                  "description": "",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Get E911 Address",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/{e911_address_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "{e911_address_id}"
              ]
            },
            "description": "Get E911 Address details"
          }
        },
        {
          "name": "Edit E911 Address",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/{e911_address_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "{e911_address_id}"
              ]
            },
            "description": "Edit an existing E911 Address and perform address validation on the updated address",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "street_address_1",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "street_address_2",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "city",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "state",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "postal_code",
                  "description": "",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Delete E911 Address",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/{e911_address_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "{e911_address_id}"
              ]
            },
            "description": "Delete an existing E911 Address. Numbers with this E911 Address will lose their E911 Address association."
          }
        },
        {
          "name": "Get E911 Address numbers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/{e911_address_id}/numbers",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "{e911_address_id}",
                "numbers"
              ]
            },
            "description": "Get all numbers assigned to an E911 Address"
          }
        },
        {
          "name": "Add numbers to E911 Address",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/{e911_address_id}/numbers",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "{e911_address_id}",
                "numbers"
              ]
            },
            "description": "Add E911 enabled numbers to an E911 Address. Existing E911 Address associations will be discarded for updated numbers",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "numbers",
                  "description": "String of comma separated E911 enabled numbers on the account.",
                  "type": "text",
                  "value": "1234567890, 2345678901"
                },
                {
                  "key": "add_e911_feature",
                  "description": "Add E911 feature to submitted numbers that don't currently have it.",
                  "type": "text",
                  "value": "False"
                }
              ]
            }
          }
        },
        {
          "name": "Remove numbers from E911 Address",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/{e911_address_id}/numbers",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "{e911_address_id}",
                "numbers"
              ]
            },
            "description": "Remove numbers from an E911 Address"
          }
        },
        {
          "name": "Validate a dynamic E911 Address",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/dynamic/validate",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "dynamic",
                "validate"
              ]
            },
            "description": "Validate a dynamic E911 Addresses",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "address_line_1",
                  "description": "Address line 2 may be added during a later step",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "house_number",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "house_suffix",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "street_name",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "street_suffix",
                  "description": "Street suffix such as \"ave\" or \"drive\"",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "city",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "state",
                  "description": "State abbreviation",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "postal_code",
                  "description": "5-digit postal code",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "country",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "house_prefix",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "pre_directional",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "post_directional",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "plus_four",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "county",
                  "description": "",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "List validated dynamic E911 Addresses",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/dynamic/list_validated",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "dynamic",
                "list_validated"
              ]
            },
            "description": "List all validated dynamic E911 Addresses"
          }
        },
        {
          "name": "Get validated dynamic E911 Address details",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/dynamic/address/{address_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "dynamic",
                "address",
                "{address_id}"
              ]
            },
            "description": "Get details for a single validated dynamic E911 Address"
          }
        },
        {
          "name": "Delete dynamic E911 Address",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/dynamic/address/delete",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "dynamic",
                "address",
                "delete"
              ]
            },
            "description": "Delete a dynamic E911 Address. Any existing E911 Locations associated with the address must be removed beforehand."
          }
        },
        {
          "name": "Add a dynamic E911 Location",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/dynamic/locations/add",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "dynamic",
                "locations",
                "add"
              ]
            },
            "description": "Add a dynamic E911 Location",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "location_id",
                  "description": "Custom string identifier to use for the location. Must consist of 1-50 characters, limited to alphanumeric characters, dashes, and underscores.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "address_id",
                  "description": "ID of previously-validated and geocoded address.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "address_line_2",
                  "description": "Optionally include to provision location with address line 2 data.",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "List dynamic E911 Locations",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/dynamic/locations",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "dynamic",
                "locations"
              ]
            },
            "description": "List all dynamic E911 Locations"
          }
        },
        {
          "name": "Get dynamic E911 Location details",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/dynamic/locations/{location_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "dynamic",
                "locations",
                "{location_id}"
              ]
            },
            "description": "Get details for a single dynamic E911 Location by location ID."
          }
        },
        {
          "name": "Delete dynamic E911 Location",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/dynamic/locations/{location_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "dynamic",
                "locations",
                "{location_id}"
              ]
            },
            "description": "Delete a dynamic E911 Location by location ID. Any existing E911 Endpoints associated with the location must be removed beforehand."
          }
        },
        {
          "name": "Add a dynamic E911 Endpoint",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/dynamic/endpoints/add",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "dynamic",
                "endpoints",
                "add"
              ]
            },
            "description": "Add a dynamic E911 Endpoint\n> **NOTE**&#58; Successful addition of an endpoint will render both a non-recurring and recurring charge of $1.25. No charge is rendered for unsuccessful attempts to add an endpoint.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "location_id",
                  "description": "String identifier for the location the endpoint is being added to. Limited to alphanumeric characters, dashes, and underscores.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "callback_number",
                  "description": "Callback number.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "caller_name",
                  "description": "Caller name.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "identifier",
                  "description": "Unique identifier consisting of 10-30 alphanumeric characters. If not provided, one will be automatically generated.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "label",
                  "description": "Optional label",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "List dynamic E911 Endpoints",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/dynamic/endpoints?callback_number=&identifier=",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "dynamic",
                "endpoints"
              ],
              "query": [
                {
                  "key": "callback_number",
                  "value": "",
                  "description": "Filter results by callback_number",
                  "disabled": true
                },
                {
                  "key": "identifier",
                  "value": "",
                  "description": "Filter results by identifier",
                  "disabled": true
                }
              ]
            },
            "description": "List all dynamic E911 Endpoints"
          }
        },
        {
          "name": "Get dynamic E911 Endpoint details",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/dynamic/endpoints/{identifier}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "dynamic",
                "endpoints",
                "{identifier}"
              ]
            },
            "description": "Get details for a single dynamic E911 Endpoint by endpoint identifier."
          }
        },
        {
          "name": "Delete dynamic E911 Endpoint",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/e911/dynamic/endpoints/{identifier}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "e911",
                "dynamic",
                "endpoints",
                "{identifier}"
              ]
            },
            "description": "Delete a dynamic E911 Endpoint by identifier"
          }
        }
      ]
    }
  ]
}