GET, POST
Input Header Parameters
application-keyRequired
GET
Input Query String Parameters
accountIdOptionalFilter results by account ID.
POST
Input JSON Parameters
{}Object {}RequiredROOTaccountIdStringOptionalFilter records by accountId
accountIdsArray []OptionalFilter records included in accountIds
On Success
Output JSON Parameters
{}Object {}ROOTlinesArray []Array of line records{}Object {}Line RecordapplicationIdStringApplication ID
accountIdStringAccount ID
lineIdStringLine ID
numberStringLine phone number. Ex: +12225554444
initBlockIdStringDefault IVR block on inbound call.
stampCreatedNumberDateStamp of record creation.
enabledBooleanLine is enabled and accepting calls.
On Failed
Output JSON Parameters
{}Object {}Root parameter type.errorObject {}codeStringError short code string.
messageStringGreater description of error.
Codes: METHOD_NOT_ALLOWED, BAD_REQUEST, INTERNAL_ERROR, ACCESS_DENIED, BANNED, INVALID_ACCOUNT_ID, INVALID_LINE_ID