Overview                 
                                     
                  
                                          
                  Send an SMS                 
                                                        
                  Receive an SMS                 
                                                        
                  SMS actions                 
                                                        
                  Action: Forward                 
                                                        
                  Action: Reply                 
                                                        
                  SMS delivery reports                 
                                                        
                  SMS history                 
                                                        
                  Get SMS by ID                 
                                     
                  
                                          
                  Send an MMS                 
                                                        
                  Receive an MMS                 
                                                        
                  MMS history                 
                                                        
                  Get MMS by ID                 
                                     
                  
                                          
                  Make a phone call                 
                                                        
                  Receive a phone call                 
                                                        
                  Call actions                 
                                                        
                  Action: Connect                 
                                                        
                  Action: Connect to SIP                 
                                                        
                  Action: Play                 
                                                        
                  Action: IVR                 
                                                        
                  Action: Record                 
                                                        
                  Action: Recordcall                 
                                                        
                  Action: Hangup                 
                                                        
                  Call history                 
                                                        
                  Get phone call by ID                 
                                                        
                  Call from client                 
                                     
                  
                                          
                  Allocate a number                 
                                                        
                  Deallocate a number                 
                                                        
                  Configure a number                 
                                                        
                  Get number by ID                 
                                                        
                  List all numbers                 
                                     
                  
                                          
                  Activate Conversations                 
                                                        
                  Send a question                 
                                                        
                  Receive a reply                 
                                                        
                  Conversation history                 
                                                        
                  Get conversation by ID                 
                                     
                  
                                          
                  MMS image history                 
                                                        
                  Get MMS image by ID                 
                                                        
                  Get MMS image file                 
                                     
                  
                                          
                  Recording history                 
                                                        
                  Get recording by ID                 
                                                        
                  Get recording .wav file                 
                                     
                  
                                          
                  Get account details                 
                                                        
                  Update account                 
                                     
                  
                                          
                  Create a subaccount                 
                                                        
                  Update a subaccount                 
                                                        
                  Get subaccount details                 
                                                        
                  Get all subaccounts                 
                                     
                  
                                          
                  VOIP SIP                 
                                                        
                  WebRTC SIP                 
                                                        
                  SIP server IP addresses                 
                                     
                  
                                          
                  Using GET requests instead of POST                 
                                                        
                  Verify callback origin                 
                                                        
                  OpenAPI Specification                 
                                     
               
    
      
  List all virtual phone numbers 
  Request 
  GET https://api.46elks.com/a1/numbers 
  Optional request parameters 
  
    
      
        Parameter 
        Example 
        Description 
       
     
    
        
          start 
          2018-02-14T09:52:07.302000 
          Retrieve numbers created before this date 
         
        
          end 
          2018-02-14T09:52:07.302000 
          Retrieve numbers created after this date. 
         
        
          limit 
          40 
          Limit the number of results on each page 
         
     
  
    Response structure 
{
  "data": [
    {
      "id": "n0ba74fef557dfcec3a96d8d4477ae634",
      "active": "yes",
      "category": "mobile",
      "capabilities": [
        "sms",
        "mms",
        "voice"
      ],
      "country": "se",
      "number": "+46766861217",
      "created": "2018-02-07T14:14:14.834000",
      "allocated": "2018-02-16T15:53:19.737000",
      "deallocated": "2018-02-22T15:23:01.611000",
      "name": "Support phone"
    },
    // ...
  ]
}
 
    
      
        
          Attribute 
          Description 
         
       
      
        
          data 
          list of virtual phone numbers the same format as in  show virtual phone number by id . 
         
        
          next 
          created tme for the next page if more numbers are available 
         
        
        
    
    Additional info 
    
    The list will show all virtual phone numbers associated with your account, both active and
    inactive. This will list all up to 100 virtual phone numbers. Use the start and
    end parameters to page through the history.