For the complete documentation index, see llms.txt. This page is also available as Markdown.

Upload file

GET or POST Request

https://v1.api19.com/lnp/file/add

Argument

Required

Type

portid

yes

order_id

description

yes

string

key

yes

api key

file

yes

string

curl -X POST https://v1.api19.com/lnp/file/add \
 -d "portid=7212" \
 -d "description=invoice" \
 -d "file=somefile" \
 -d 'key=your-key'
{"status": "ok"}

OR

{
  "status": "error",
  "message": "file upload failed",
  "data": null
}

Last updated