Quick Start

Get your API keys

Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.

You can generate an API key from your Dashboard Profile at any time.

Tips : Always use the x-www-form-urlencode header when making POST, PUT, PATCH or DELETE requests to our API.

Good to know: We authenticate your request via Neodrive-Api header, see example below.

Make your first request

To make your first request, send an authenticated request to the file endpoint. This will get you list of your files.

List Files

GET https://neodrive.my.id/api/v1/files

List of your uploaded files.

Searching File URL example : https://neodrive.my.id/api/v1/files?q=MySearch

Goto pagination URL example : https://neodrive.my.id/api/v1/files?page=1

Query Parameters

NameTypeDescription

q

String

Search query (Optional)

page

Integer

Go To specific pagination (Optional)

Headers

NameTypeDescription

neodrive-api*

String

<Your API KEY> (Required)

{
    "status": 200,
    "items": [
        {
            "id": "d21ae110-8d4d-408d-a8f3-51bc7ee3d61a",
            "name": "HTTP Injector.apk",
            "url": "http://neodrive.my.id/f/d21ae110-8d4d-408d-a8f3-51bc7ee3d61a",
            "driveid": "1ECxanAXnaZ0SwuGSUd2xd7vRYtz7Grf5",
            "format": "apk",
            "size": "50168768",
            "md5": "fedabe11d8560364962d8dfd69b1cd8b",
            "multiup": null,
            "views": "0",
            "downloads": "0"
        }
    ],
    "currentPage": 1,
    "totalPage": 1
}

Take a look at how you might call this method viacurl:

curl --location --request GET 'https://neodrive.my.id/api/v1/files' \
--header 'neodrive-api: 625092296266470295046fd6bd9c44a5'

Last updated