Log in to Freesound

Problems logging in?
Don't have an account? Join now

Problems logging in?

Enter your email or username below and we'll send you a link to help you login into your account.

Back to log in

Almost there!

We've sent a verification link by email

Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.

Default title

  • Sounds
  • Tags
  • Forum
  • Map
    • Sounds
    • Packs
    • Forum
    • Map
    • Tags
    • Random sound
    • Charts
    • Donate
    • Help

Freesound Forums

  • Freesound Forums
  • Freesound Project
  • Getting user info from API

Getting user info from API

Subscribe

Started February 19th, 2022 · 1 reply · Latest reply by junodenizen 3 years, 3 months ago

J
junodenizen

1 sound

4 posts

3 years, 3 months ago
#1

I'm using the API to make an app. I'm trying to get the user information, like just a username would be good. When I use my authorization token, I'm getting a 401 error in my app. On the command line using curl like this:

curl -H "Authorization: Bearer ACCESS_CODE" "https://freesound.org/apiv2/me"

I'm not getting anything in response to that. Just a blank page. Here's the part of the API that explains how to get user info:

https://freesound.org/docs/api/resources_apiv2.html#me-information-about-user-authenticated-using-oauth2-oauth2-required

How do I make this work?

Post reply
About Freesound Terms of use Privacy Cookies Developers Help Donations Blog Freesound Labs Get your t-shirt!
© 2025 Universitat Pompeu Fabra