- Introduction
- Getting Started
- Permissions
- Core Resources
- Channels
- Messages
- Teams
- Roles
- Users
- Todos
- Direct Messages
- Applications
- Reactions
- Attachments
- Voice
- Webhooks
- Blog
- Category
- Schemas
- Websockets
- Example Bot
- WebSocket event envelope
- Websocket events
- CHANNEL_CREATED
- CHANNEL_DELETED
- CHANNEL_UPDATED
- MESSAGE_SEND
- MESSAGE_UPDATED
- MESSAGE_DELETED
- MESSAGE_REACTION_ADDED
- MESSAGE_REACTION_REMOVED
- PRESENCE_UPDATE
- TEAM_ROLE_CREATED
- TEAM_ROLE_DELETED
- TEAM_ROLES_UPDATED
- TEAM_UPDATED
- TODO_ITEM_CREATED
- TODO_ITEM_DELETED
- TODO_ITEM_UPDATED
- USER_JOINED_TEAM
- USER_LEFT_TEAM
- USER_JOINED_VOICE_CHANNEL
- USER_LEFT_VOICE_CHANNEL
- USER_PROFILE_UPDATED
- USER_ROLE_ADDED
- USER_ROLE_REMOVED
- USER_UPDATED_VOICE_METADATA
- BLOG_CREATED
- BLOG_DELETED
- CATEGORIES_PRIORITY_UPDATED
- CATEGORY_UPDATED
- CATEGORY_DELETED
- CATEGORY_CREATED
- CHANNELS_PRIORITY_UPDATED
- Connecting via WebSocket
Get Logged In User
GET
https://api.teamly.one/api/v1/me
Request
Header Params
Authorization
string
required
Default:
Bot {token}
Content-Type
string
required
Default:
application/json
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.teamly.one/api/v1/me' \
--header 'Authorization;'
Responses
🟢200Success
application/json
Body
user
object (User)
required
id
string
required
username
string
required
>= 1 characters<= 20 characters
subdomain
string
required
profilePicture
string <uri>
optional
Default:
null
banner
string <uri>
optional
Default:
null
bot
boolean
required
Default:
false
presence
number
required
>= 0<= 3
Default:
0
badges
array [object {3}]
required
userStatus
object
optional
userRPC
object
optional
connections
array [object]
required
createdAt
string <date-time>
required
Default:
CURRENT_TIMESTAMP
lastOnline
string <date-time> | null
deprecated
Default:
CURRENT_TIMESTAMP
system
boolean
required
Default:
false
Example
{
"user": {
"id": "string",
"username": "string",
"subdomain": "string",
"profilePicture": null,
"banner": null,
"bot": false,
"presence": 0,
"badges": [],
"userStatus": {
"content": null,
"emojiId": null
},
"userRPC": {
"type": null,
"name": null,
"id": null,
"startedAt": null
},
"connections": [],
"createdAt": "CURRENT_TIMESTAMP",
"lastOnline": "CURRENT_TIMESTAMP",
"system": false
}
}
Modified at 2025-01-04 21:27:25