We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

abhishek8973's avatar
abhishek8973
New member | Level 2
5 years ago

Need to add image through php code

I want to add image through my php code and get the the ling upload image is this possible

2 Replies

  • abhishek8973's avatar
    abhishek8973
    New member | Level 2
    5 years ago

    Please let me know because my server storage is full and i want to upload image directly to Dropbox account 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 years ago

    Dropbox does offer an API you can use for listing, uploading, downloading, and sharing files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation and tutorials here.

     

    For example, to upload files you can use /2/files/upload, and to create shared links you can use /2/sharing/create_shared_link_with_settings.

     

    For reference, Dropbox doesn't offer an official PHP SDK for Dropbox API v2, but you can use a third party library, or you can call the HTTPS endpoints themselves using whatever HTTPS client you prefer.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 2 days ago
411 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!