📞
API Docs
  • Welcome
  • NUMBERS / ORDERING
    • List Areas
    • List Numbers
    • Order Numbers - No Cart
    • Delete Numbers
    • Change Call Forward
    • Vanity Tollfree - Search
    • Vanity Toll Free - Order
  • Shopping Cart Ordering
    • Add Number to Cart
    • List Numbers in Cart
    • Delete Number from Cart
    • Complete Order Cart
  • MY INVENTORY
    • List My Nmbers
    • List Call Flows
    • Change CallFlow
    • CDR Records
  • SMS/MMS
    • Send SMS
    • Send MMS
    • Receive SMS/MMS
    • Receive Delivery Receipts
  • Campaigns
    • Submit TollFree Campaign
  • CALL APIS
    • Calls
    • Set Incoming URL
    • Incoming Calls
    • Listing Calls
    • Making Calls
      • Example Code
        • Outbound to Tel#
        • Outbound to SIP Device
        • Example Responses
    • Modifying Live Calls
      • Examples
    • Recordings
      • Get List of Recordings
      • Delete a Recording
  • CALL API MARKUP
    • API Call Markup Language
      • Say
      • Dial
        • Number
        • Client
        • SIP
      • Play
      • Gather
      • Record
      • Hangup
      • Pause
      • Reject
      • Redirect
  • LOOKUPS
    • Carrier and CNAM
  • Number Portability
    • Validate Portability
    • Lookup Port Request
    • Submit Port Request
  • FAXING
    • Create Outbound Fax
    • Lookup Outbound Fax Status
    • List Faxes
    • Download File
  • registered agent
    • List Companies
    • List Registered Agents
    • List Documents
    • Download Document
    • Create Company
    • Delete Company
    • Create Registered Agent
    • Modify Registered Agent
Powered by GitBook
On this page
  1. registered agent

List Documents

List all of the documents on your account for a company

GET or POST Request

https://v1.api19.com/ra/documents/list

Get a list of all of your documents on your account for a specific company

Argument

Required

Type

company_id

yes

company id

key

yes

your api key

curl https://v1.api19.com/ra/documents/list \
 -d 'company_id=h329fh23r' \
 -d 'key=api_token'
curl https://v1.api19.com/ra/documents/list?company_id=32yg23&key=apikey
NO DOCUMENTS:
{
    "status": "error",
    "error": "No registered agent documents found",
    "verbose": "none"
}

BAD COMPANY:
{
    "status": "error",
    "error": "Cannot locate company",
    "verbose": "none"
}

LIST OF DOCUMENTS:
{
    "status": "ok",
    "document_id": "hwew-2gh23hf32-f32hf2",
    "title": "Subpeona for information",
    "pages": 4,
    "downloaded": "yes"
}
PreviousList Registered AgentsNextDownload Document

Last updated 4 days ago