API

Use our API to upload new files and find information on existing ones.


/api/v1/upload POST

Upload to Whispa by POSTing a file

Example

curl -F 'file=@example.txt' https://whispa.app/api/v1/upload

Output

{
    "success": true,
    "message": "upload_success",
    "filename": "fsNq8Vu80f",
    "hash": "fsNq8Vu80f-whisprm-67ed5c80f165a336050646ce6e7442d4"
}

/api/v1/info/{file_name} GET

Get existing file information

Example

curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET https://whispa.app/api/v1/info/fsNq8Vu80f

Output

{
    "success": true,
    "uploaded": "example.txt",
    "name": "fsNq8Vu80f",
    "size": "0",
    "link": "https://wsp.re/d/fsNq8Vu80f",
    "views": "0",
    "downloads": "0",
    "stamp": "1578417434"
}

Home - API - Roadmap - Blog - FAQ - Terms - Privacy - Contact

Register - Log in

b. 32d9d7b