FoneNumbers
fonenumbers

Instant FoneNumber

Order a ready to use voice and messaging enabled local or toll-free phone number.

post/fonenumbers

Request

  • Base URL: https://api.fonestorm.com/v2
  • URL: https://api.fonestorm.com/v2/fonenumbers
  • Auth: API key in header token

Request body

area_codestring required

Local number area code (e.g 321) or toll-free exchange (e.g. 888). Use 8XX to order a toll-free in any available exchange.

Response

Created

Example response

{
  "fonenumber": {
    "label": "Main Office IVR",
    "group": "Main Office",
    "type": "Local",
    "record_calls": "yes",
    "state": "FL",
    "rate_center": "ORLANDO",
    "is_active": "yes",
    "message_options": {
      "receive": {
        "type": "Device"
      },
      "receive_notify": {
        "type": "URL",
        "url": "https://example.com/receive_notify",
        "method": "JSON"
      },
      "send_notify": {
        "type": "Email",
        "email": "support@fractel.net"
      },
      "messaging_enabled": "yes",
      "messaging_campaign": "CXX11XX11"
    },
    "call_options": {
      "receive": {
        "type": "Device"
      },
      "receive_notify": {
        "type": "URL",
        "url": "https://example.com/send_notify",
        "method": "JSON"
      },
      "send_notify": {
        "type": "Email",
        "email": "support@fractel.net"
      }
    },
    "fax_options": {
      "receive_notify": {
        "type": "URL",
        "url": "https://example.com/send_notify",
        "method": "JSON"
      },
      "send_notify": {
        "type": "Email",
        "email": "support@fractel.net"
      }
    },
    "e911location_options": {
      "location_id": "LO12341234",
      "e911location_id": "EN12341234",
      "e911location_default": "no",
      "e911location_active": "yes"
    },
    "activation_date": "2022-03-30",
    "is_offnet": "no"
  }
}

Changes