CandorUser objects represent users interacting with Candor Studios’ platform, whether through Discord or the web. Every user who has engaged with Candor Studios has a corresponding CandorUser object.

Structure

Name Type Description
id String Unique ID representing the user
username String The user’s name
avatar String Link to the user’s avatar
freelancer_profile Freelancer Profile Profile for this user if they’re a freelancer
type?* User Type The type of user that this is
bio? String User-provided bio. Only available for staff and verified freelancers.
contact_email? String User-provided contact email. Only available for certain staff.

*: In the event that the type field is not present, assume it is Discord.

Example

{
   "flags": [
      "ORDER_MANAGER",
      "SUPPORT_STAFF",
      "QA_TEAM",
      "MANAGEMENT",
      "FREELANCER",
      "CLIENT",
      "TESTER"
   ],
   "bio": "Hi there! I'm the most senior manager at Candor Studios, overseeing day to day operations and managing large projects. I love aviation and programming, and am currently training to be a pilot! Send me a message if you need help!",
   "id": "947691195658797167",
   "avatar": "<https://cdn.discordapp.com/avatars/947691195658797167/3e210096e71dd2d6594761228fca30ae.png>",
   "type": 1,
   "freelancer_profile": {
      "portfolio": "<https://slz.lol>",
      "timezone": "GMT/BST",
      "average_rating": 5
   },
   "contact_email": "[email protected]",
   "username": "George"
}

Freelancer Profile

Name Type Description
portfolio String Portfolio for the user
timezone String The freelancer’s timezone
average_rating float Average rating, in stars, of the user

Enums

User type

Name Code
native 0
discord 1

Endpoints

<aside> ➡️

GET /freelancers/@me

Returns the CandorUser object for the current user. Certain fields are not present due to public API keys not being safe.

Response body is a CandorUser object.

</aside>