Vouchley documentation

View tutorials and documentation

Fetching user data

You can fetch the following information abofetch the following information about a Vouchley user:

  • ID UUID

    The user's unique ID

  • Display name String

    The user's display name

  • Username String

    The user's username

  • Title String

    The user's title

  • Avatar URL String

    The user's avatar URL

  • Reviews Array

    The user's list of reviews

  • Average rating Integer

    The user's average rating

  • Total value traded Double

    The user's total value traded

  • Discord ID String

    The user's Discord ID (if set)

  • Donator badges Array

    The user's list of donator badges

Getting a user's ID

You can find a user's unique ID by visiting their profile and clicking 'Copy ID 'on the right.

Example URL (Fetch user by ID) - Recommended

https://www.vouchley.com/api/v1/user?id=7e52da00-5e8d-4c1d-9959-5243a13e3043

Example URL (Fetch user by username)

https://www.vouchley.com/api/v1/user?username=Vouchley

Example response (JSON)

{
  "user": {
    "id" : "7e52da00-5e8d-4c1d-9959-5243a13e3043",
    "displayname" : "Vouchley Org!",
    "username": "Vouchley",
    "title": "Official account of Vouchley",
    "avatar_url": "https://ritzeytuqtcluulkkaga.supabase.co/storage/v1/object/sign/avatars/7e52da00-5e8d-4c1d-9959-5243a13e3043?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzLzdlNTJkYTAwLTVlOGQtNGMxZC05OTU5LTUyNDNhMTNlMzA0MyIsImlhdCI6MTY5MTY5NjY4MCwiZXhwIjozMjY0MTc2NjgwfQ.V8rwMtY0vrWRnJSBbwJYtr9OjRhuUy-zxc8GaOUFW5Y",
    "reviews: [
    {
        "id": "86ba9155-5656-46fc-a5a3-a46cf6b00023",
        "receiver": "4b637ba6-c11e-4a79-956a-be7794e9614f",
        "sender": "8ebdc081-273d-44ae-9c6c-216efffbab1d",
        "value": 0,
        "rating": 5,
        "message": "User was very informative about some questions I've had with web development, and user was quick to fix any issues/suggestions I had!",
        "time_sent": "2023-08-10T19:21:44.505711+00:00",
        "platform": "Discord (Direct messages)"
        "product": "Website Development",
    },
    {
        "id": "19fe4349-628d-4118-aae9-6555b9964d9b",
        "receiver": "4b637ba6-c11e-4a79-956a-be7794e9614f",
        "sender": "073d67f8-0988-4cf1-95c3-53f36aa2db60",
        "value": 0,
        "rating": 5,
        "message": "This user made the verification process on site very easy :blobshrug:",
        "time_sent": "2023-08-12T16:11:24.45609+00:00",
        "platform": "Discord (Direct messages)",
        "donator_badges": [0,1,2]
        "product": null,
    }
],
    "average_rating": "5.0",
    "total_value": 43.65,
    "discord_id": "1087356895402143844"
  },
  "error": {
    "message": null,
    "code": 200
  }
}
Need more help? Join our Discord server for support!
Join Discord