Assign an E911 Address to Your Phone Number

Lets you assign a valid E911 address to a specific long code or toll-free phone number in your account.

Endpoint

PATCH /numbers/:number_id/relationships/e911s/:e911_id

Path Parameters

  • number_id
    integer REQUIRED

    Your Flowroute long code or toll-free phone number to be associated with the valid E911 address.

  • e911_id
    integer REQUIRED

    A valid E911 record ID to be assigned to your Flowroute long code or toll-free phone number.

Response Fields

On success, the HTTP status code in the response header is 204 No Content which means that the server successfully processed the request and is not returning any content.


Example Request

PATCH /v2/numbers/12013451234/relationships/e911s/20155 HTTP/1.1
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json

                        

Example Request

curl https://api.flowroute.com/v2/numbers/12013451234/relationships/e911s/20155 -X PATCH \
-u accessKey:secretKey 

                        

Example Response

204 NO CONTENT

401 Unauthorized

{
  "errors": [
    {
      "detail": "Authentication failed.",
      "id": "7fc8c70a-ca58-430c-b383-b89df84f8083",
      "status": 401,
      "title": "Unauthorized"
    }
  ]
}

                

403 Forbidden

{  "errors": 
  [
    {
      "status": 403, 
      "detail": "", 
      "title": "ActionNotAuthorizedError"
    }
  ]
}