로그인
개발자
고객센터지원법적 고지개발자내 상태
  1. 개발자

개발자

  • API 문서
  • 개발자 창
  • OpenAPI 파일
  • 내 상태

API

시작하기

  • 하고 싶은 일…
  • 개요
  • 빠른 시작
  • 직접 해 보기
  • 내 키
  • 키로 할 수 있는 것
  • 봇
  • 카드, 버튼, 메뉴

기본 사항

  • 요청과 응답
  • 페이지
  • 새로운 것만
  • 한도
  • 헤더
  • 문제가 생겼을 때
  • 버전

웹훅과 이벤트

  • 웹훅
  • 서명 확인하기
  • 봇 이벤트

엔드포인트

  • 엔드포인트
  • 시작점
    • GET /
  • 그 밖의 모든 것
    • GET /actions
    • POST /actions/{name}
  • 게시물
    • GET /posts
    • GET /posts/{id}
    • POST /posts
    • DELETE /posts/{id}
    • GET /me/scheduled
    • POST /posts/{id}/schedule
    • POST /posts/{id}/edit
    • GET /posts/{id}/reply-settings
    • PUT /posts/{id}/reply-settings
    • POST /posts/{id}/coauthor
    • DELETE /posts/{id}/coauthor
    • POST /posts/{id}/pin
  • 답글
    • GET /posts/{id}/replies
    • POST /posts/{id}/replies
    • POST /replies/{id}/edit
    • DELETE /replies/{id}
    • POST /replies/{id}/like
    • POST /replies/{id}/vote
    • POST /replies/{id}/pick
    • GET /posts/{id}/replies/waiting
    • POST /replies/{id}/decide
    • GET /posts/{id}/replies/planned
    • PUT /me/planned-replies/{id}
    • POST /me/planned-replies/{id}/send
    • DELETE /me/planned-replies/{id}
  • 투표
    • POST /posts/{id}/vote
  • 이번 주의 게시물
    • GET /pick
    • POST /pick/vote
    • POST /pick/withdraw
    • PUT /me/pick
  • 프로필
    • GET /profiles/{handle}
    • GET /profiles/{handle}/posts
    • GET /profiles/{handle}/events
    • POST /me/events
    • PUT /me/events/{id}
    • DELETE /me/events/{id}
    • GET /me/events/{id}/signups
    • POST /events/{id}/signup
    • GET /me/status
    • PUT /me/status
    • GET /statuses
    • GET /me/activity
    • PUT /me/activity
    • DELETE /me/activity
    • GET /games
  • 그룹
    • GET /communities
    • GET /communities/{id}
    • GET /communities/{id}/posts
    • GET /communities/{id}/members
    • GET /communities/{id}/roles
    • GET /communities/{id}/bell
    • GET /invites/{code}
    • PUT /roles/{id}/self
    • GET /communities/{id}/emojis
    • PUT /communities/{id}/bell
    • POST /invites/{code}/join
    • GET /communities/{id}/bots
  • 채널
    • GET /communities/{id}/channels
    • GET /channels/{id}/messages
    • POST /channels/{id}/messages
    • POST /channels/{id}/read
    • DELETE /channel-messages/{id}
    • PUT /channel-messages/{id}/reactions/{emoji}
    • DELETE /channel-messages/{id}/reactions/{emoji}
    • GET /communities/{id}/voice
  • 그룹 관리
    • POST /communities/{id}/emojis
    • DELETE /communities/{id}/emojis/{name}
    • POST /communities/{id}/roles
    • PUT /roles/{id}
    • DELETE /roles/{id}
    • PUT /communities/{id}/roles/order
    • PUT /roles/{id}/members/{member}
    • POST /communities/{id}/channels
    • PUT /channels/{id}
    • DELETE /channels/{id}
    • PUT /communities/{id}/channels/order
    • PUT /communities/{id}/channels/shape
    • GET /channels/{id}/overrides
    • PUT /channels/{id}/overrides/{role}
    • POST /communities/{id}/categories
    • PUT /categories/{id}
    • DELETE /categories/{id}
    • PUT /communities/{id}/feed
    • GET /communities/{id}/invites
    • POST /communities/{id}/invites
    • DELETE /invites/{code}
    • POST /channel-messages/{id}/remove
    • POST /communities/{id}/posts/{post}/remove
    • DELETE /communities/{id}/members/{member}
    • PUT /communities/{id}/members/{member}/timeout
    • DELETE /communities/{id}/members/{member}/timeout
    • GET /communities/{id}/bans
    • PUT /communities/{id}/bans/{member}
    • DELETE /communities/{id}/bans/{member}
    • GET /communities/{id}/log
    • POST /communities
    • PUT /communities/{id}
  • 봇
    • GET /events
    • GET /events/stream
    • GET /me/commands
    • PUT /me/commands
    • POST /interactions/{id}/reply
    • POST /channels/{id}/voice
  • 탐색
    • GET /tags
    • GET /search
    • GET /emojis
  • GIF와 동영상
    • GET /media
    • GET /media/mine
    • GET /media/{id}
    • POST /media/uploads
    • PUT /media/uploads/{upload}
    • POST /media/{id}
    • DELETE /media/{id}
  • 내 계정
    • GET /me
    • GET /feed
    • POST /me/pictures
    • PUT /me/profile
    • GET /me/emojis
    • POST /me/emojis/pictures
    • POST /me/emojis
    • DELETE /me/emojis/{name}
    • PUT /me/emojis/sharing
    • GET /me/webhooks
    • POST /me/webhooks
    • DELETE /me/webhooks/{id}
    • POST /me/webhooks/{id}/test
    • PUT /me/username
    • GET /me/settings
    • PUT /me/settings
  • 알림
    • GET /notifications
    • POST /notifications/read
  • 메시지
    • GET /conversations
    • GET /conversations/{with}/messages
    • POST /conversations/{with}/messages
    • POST /conversations/{with}/read
    • DELETE /conversations/{with}/messages/{id}
    • PUT /conversations/{with}/messages/{id}/reactions/{emoji}
    • DELETE /conversations/{with}/messages/{id}/reactions/{emoji}
    • POST /conversations/{with}/planned
    • GET /me/planned-messages
    • POST /me/planned-messages/{id}/send
    • DELETE /me/planned-messages/{id}
  • 관계
    • POST /relations
    • GET /profiles/{handle}/followers
    • GET /profiles/{handle}/following
    • GET /me/relations
  • 컬렉션
    • GET /me/collections
    • POST /me/collections
    • PUT /me/collections/{id}
    • DELETE /me/collections/{id}
    • GET /me/collections/{id}/posts
    • POST /me/collections/{id}/posts
  • 선물
    • GET /partner/quota
    • GET /partner/gifts
    • POST /partner/gifts
    • GET /gift-drops
    • POST /gift-drops

객체

  • 객체
  • Service
  • RateLimit
  • Post
  • Reply
  • ReplyVote
  • PlannedReply
  • ReplySettings
  • Counts
  • Media
  • Poll
  • PollOption
  • ProfileBrief
  • Profile
  • CommunityBrief
  • Community
  • Membership
  • Person
  • Channel
  • ChannelCategory
  • ChannelSymbol
  • ChannelMessage
  • Reaction
  • Role
  • GroupMember
  • ChannelOverride
  • Bell
  • InviteLink
  • InvitePreview
  • InviteGroup
  • Joined
  • LogEntry
  • Ban
  • Until
  • Tag
  • SearchResult
  • Emoji
  • Notification
  • Actor
  • Conversation
  • Message
  • PlannedMessage
  • ScheduledPost
  • Collection
  • Event
  • EventSignups
  • EventSignup
  • Picture
  • EmojiPicture
  • OwnEmoji
  • GroupEmoji
  • BotEvent
  • BotCommand
  • VoiceSeat
  • Webhook
  • WebhookCreated
  • GroupBot
  • VoiceRoom
  • VoicePerson
  • GiftDrop
  • OwnGiftDrop
  • Quota
  • QuotaLook
  • QuotaGift
  • MediaItem
  • Embed
  • UploadStarted
  • UploadPiece
  • Created
  • DropCreated
  • Made
  • Action
  • ActionAnswer
  • PostOfTheWeek
  • PickRound
  • PickNominee
  • PickVote
  • PickEligible
  • Settings
  • OwnStatus
  • StatusText
  • MemberStatus
  • Playing
  • Activity
  • ActivityGame
  • ActivityParty
  • ActivityButton
  • Game
  • Ok

기타

  • 내 게임의 플레이 상태 표시
  • 기계가 읽을 수 있는 설명
  • 다른 웹사이트의 GIF와 동영상
  • tellmelo로 로그인
  • 지켜 주셨으면 하는 것
목차

시작하기

  • 하고 싶은 일…
  • 개요
  • 빠른 시작
  • 직접 해 보기
  • 내 키
  • 키로 할 수 있는 것
  • 봇
  • 카드, 버튼, 메뉴

기본 사항

  • 요청과 응답
  • 페이지
  • 새로운 것만
  • 한도
  • 헤더
  • 문제가 생겼을 때
  • 버전

웹훅과 이벤트

  • 웹훅
  • 서명 확인하기
  • 봇 이벤트

엔드포인트

  • 엔드포인트
  • 시작점
    • GET /
  • 그 밖의 모든 것
    • GET /actions
    • POST /actions/{name}
  • 게시물
    • GET /posts
    • GET /posts/{id}
    • POST /posts
    • DELETE /posts/{id}
    • GET /me/scheduled
    • POST /posts/{id}/schedule
    • POST /posts/{id}/edit
    • GET /posts/{id}/reply-settings
    • PUT /posts/{id}/reply-settings
    • POST /posts/{id}/coauthor
    • DELETE /posts/{id}/coauthor
    • POST /posts/{id}/pin
  • 답글
    • GET /posts/{id}/replies
    • POST /posts/{id}/replies
    • POST /replies/{id}/edit
    • DELETE /replies/{id}
    • POST /replies/{id}/like
    • POST /replies/{id}/vote
    • POST /replies/{id}/pick
    • GET /posts/{id}/replies/waiting
    • POST /replies/{id}/decide
    • GET /posts/{id}/replies/planned
    • PUT /me/planned-replies/{id}
    • POST /me/planned-replies/{id}/send
    • DELETE /me/planned-replies/{id}
  • 투표
    • POST /posts/{id}/vote
  • 이번 주의 게시물
    • GET /pick
    • POST /pick/vote
    • POST /pick/withdraw
    • PUT /me/pick
  • 프로필
    • GET /profiles/{handle}
    • GET /profiles/{handle}/posts
    • GET /profiles/{handle}/events
    • POST /me/events
    • PUT /me/events/{id}
    • DELETE /me/events/{id}
    • GET /me/events/{id}/signups
    • POST /events/{id}/signup
    • GET /me/status
    • PUT /me/status
    • GET /statuses
    • GET /me/activity
    • PUT /me/activity
    • DELETE /me/activity
    • GET /games
  • 그룹
    • GET /communities
    • GET /communities/{id}
    • GET /communities/{id}/posts
    • GET /communities/{id}/members
    • GET /communities/{id}/roles
    • GET /communities/{id}/bell
    • GET /invites/{code}
    • PUT /roles/{id}/self
    • GET /communities/{id}/emojis
    • PUT /communities/{id}/bell
    • POST /invites/{code}/join
    • GET /communities/{id}/bots
  • 채널
    • GET /communities/{id}/channels
    • GET /channels/{id}/messages
    • POST /channels/{id}/messages
    • POST /channels/{id}/read
    • DELETE /channel-messages/{id}
    • PUT /channel-messages/{id}/reactions/{emoji}
    • DELETE /channel-messages/{id}/reactions/{emoji}
    • GET /communities/{id}/voice
  • 그룹 관리
    • POST /communities/{id}/emojis
    • DELETE /communities/{id}/emojis/{name}
    • POST /communities/{id}/roles
    • PUT /roles/{id}
    • DELETE /roles/{id}
    • PUT /communities/{id}/roles/order
    • PUT /roles/{id}/members/{member}
    • POST /communities/{id}/channels
    • PUT /channels/{id}
    • DELETE /channels/{id}
    • PUT /communities/{id}/channels/order
    • PUT /communities/{id}/channels/shape
    • GET /channels/{id}/overrides
    • PUT /channels/{id}/overrides/{role}
    • POST /communities/{id}/categories
    • PUT /categories/{id}
    • DELETE /categories/{id}
    • PUT /communities/{id}/feed
    • GET /communities/{id}/invites
    • POST /communities/{id}/invites
    • DELETE /invites/{code}
    • POST /channel-messages/{id}/remove
    • POST /communities/{id}/posts/{post}/remove
    • DELETE /communities/{id}/members/{member}
    • PUT /communities/{id}/members/{member}/timeout
    • DELETE /communities/{id}/members/{member}/timeout
    • GET /communities/{id}/bans
    • PUT /communities/{id}/bans/{member}
    • DELETE /communities/{id}/bans/{member}
    • GET /communities/{id}/log
    • POST /communities
    • PUT /communities/{id}
  • 봇
    • GET /events
    • GET /events/stream
    • GET /me/commands
    • PUT /me/commands
    • POST /interactions/{id}/reply
    • POST /channels/{id}/voice
  • 탐색
    • GET /tags
    • GET /search
    • GET /emojis
  • GIF와 동영상
    • GET /media
    • GET /media/mine
    • GET /media/{id}
    • POST /media/uploads
    • PUT /media/uploads/{upload}
    • POST /media/{id}
    • DELETE /media/{id}
  • 내 계정
    • GET /me
    • GET /feed
    • POST /me/pictures
    • PUT /me/profile
    • GET /me/emojis
    • POST /me/emojis/pictures
    • POST /me/emojis
    • DELETE /me/emojis/{name}
    • PUT /me/emojis/sharing
    • GET /me/webhooks
    • POST /me/webhooks
    • DELETE /me/webhooks/{id}
    • POST /me/webhooks/{id}/test
    • PUT /me/username
    • GET /me/settings
    • PUT /me/settings
  • 알림
    • GET /notifications
    • POST /notifications/read
  • 메시지
    • GET /conversations
    • GET /conversations/{with}/messages
    • POST /conversations/{with}/messages
    • POST /conversations/{with}/read
    • DELETE /conversations/{with}/messages/{id}
    • PUT /conversations/{with}/messages/{id}/reactions/{emoji}
    • DELETE /conversations/{with}/messages/{id}/reactions/{emoji}
    • POST /conversations/{with}/planned
    • GET /me/planned-messages
    • POST /me/planned-messages/{id}/send
    • DELETE /me/planned-messages/{id}
  • 관계
    • POST /relations
    • GET /profiles/{handle}/followers
    • GET /profiles/{handle}/following
    • GET /me/relations
  • 컬렉션
    • GET /me/collections
    • POST /me/collections
    • PUT /me/collections/{id}
    • DELETE /me/collections/{id}
    • GET /me/collections/{id}/posts
    • POST /me/collections/{id}/posts
  • 선물
    • GET /partner/quota
    • GET /partner/gifts
    • POST /partner/gifts
    • GET /gift-drops
    • POST /gift-drops

객체

  • 객체
  • Service
  • RateLimit
  • Post
  • Reply
  • ReplyVote
  • PlannedReply
  • ReplySettings
  • Counts
  • Media
  • Poll
  • PollOption
  • ProfileBrief
  • Profile
  • CommunityBrief
  • Community
  • Membership
  • Person
  • Channel
  • ChannelCategory
  • ChannelSymbol
  • ChannelMessage
  • Reaction
  • Role
  • GroupMember
  • ChannelOverride
  • Bell
  • InviteLink
  • InvitePreview
  • InviteGroup
  • Joined
  • LogEntry
  • Ban
  • Until
  • Tag
  • SearchResult
  • Emoji
  • Notification
  • Actor
  • Conversation
  • Message
  • PlannedMessage
  • ScheduledPost
  • Collection
  • Event
  • EventSignups
  • EventSignup
  • Picture
  • EmojiPicture
  • OwnEmoji
  • GroupEmoji
  • BotEvent
  • BotCommand
  • VoiceSeat
  • Webhook
  • WebhookCreated
  • GroupBot
  • VoiceRoom
  • VoicePerson
  • GiftDrop
  • OwnGiftDrop
  • Quota
  • QuotaLook
  • QuotaGift
  • MediaItem
  • Embed
  • UploadStarted
  • UploadPiece
  • Created
  • DropCreated
  • Made
  • Action
  • ActionAnswer
  • PostOfTheWeek
  • PickRound
  • PickNominee
  • PickVote
  • PickEligible
  • Settings
  • OwnStatus
  • StatusText
  • MemberStatus
  • Playing
  • Activity
  • ActivityGame
  • ActivityParty
  • ActivityButton
  • Game
  • Ok

기타

  • 내 게임의 플레이 상태 표시
  • 기계가 읽을 수 있는 설명
  • 다른 웹사이트의 GIF와 동영상
  • tellmelo로 로그인
  • 지켜 주셨으면 하는 것

하고 싶은 일…

하려는 일을 고르세요. 아래에는 그에 필요한 단계만 보여요. 전체 레퍼런스는 더 아래에 있어요.

  1. 내 그룹 중 하나의 그룹 메뉴에서 “봇 → 내 봇”으로 들어가 사진, 이름, @이름을 넣고 봇을 만드세요. 봇의 토큰은 한 번만 볼 수 있어요.
  2. 봇의 “봇 추가” 링크를 공유하거나 봇 디렉터리에 제출하세요. 팀 검토 후 디렉터리에 표시돼요. 그룹에서 역할을 관리할 수 있는 사람이 봇이 동의한 권한으로 봇을 들여요.
  3. 봇이 속한 그룹에서 일어나는 일을 스트림(GET /v2/events/stream)이나 내 주소로 받고, POST /v2/channels/{id}/messages로 글을 쓰세요. 자세한 내용은 봇에서 확인하세요.
  4. 명령어를 등록하고(PUT /v2/me/commands) 카드와 버튼으로 답하세요. 봇은 음성 채널에 자리를 잡고 음악을 재생할 수 있어요(POST /v2/channels/{id}/voice).

개요

v2로 직접 만든 프로그램이 tellmelo와 통신할 수 있어요. 요청마다 키 하나, 응답은 JSON, 모든 목록은 같은 방식으로 페이지를 넘겨요. 앱과 같은 규칙이 적용돼요.

  • 모든 경로는 https://api.tellmelo.com/v2로 시작해요.
  • 요청과 응답은 UTF-8 JSON이에요. 필드 이름, 코드, 값은 영어이며 영어로 유지돼요.
  • 키는 내 계정으로 활동해요. 앱에서 내가 볼 수 없는 것은 키로도 읽을 수 없어요.
https://api.tellmelo.com/v2

빠른 시작

  1. “개발자 영역 → API”에서 키를 만들고 복사하세요. 키는 딱 한 번만 표시돼요.
  2. 키로 루트를 호출하세요. 응답에 버전, 키의 권한, 이번 분에 남은 요청 수가 표시돼요.
  3. 모든 경로는 같은 방식으로 작동해요: 헤더에 키, 응답은 JSON, 목록은 items와 next.
curl -H "Authorization: Bearer tm_key_…" https://api.tellmelo.com/v2
{
  "name": "tellmelo",
  "version": "2.28",
  "scope": "read write",
  "rateLimit": {
    "limit": 120,
    "remaining": 117
  },
  "docs": "/developers/docs",
  "spec": "/api/v2/openapi.json"
}

다음: 내 프로필은 /me, 공개 게시물은 /posts, 내 피드는 /feed.

직접 해 보기

작업을 고르고 항목을 채운 다음 요청을 복사하거나 여기서 보내세요. 쓰기 작업은 먼저 확인을 요청해요. 코드는 TELLMELO_KEY에서 키를 읽어요.

read 이 인스턴스의 API 버전과 이름.

curl \
  -H "Authorization: Bearer $TELLMELO_KEY" \
  "https://api.tellmelo.com/v2"

내 키

계정당 최대 10개의 키를 만들 수 있으며, 각 키에 이름과 고유 권한, 원하면 만료일을 지정할 수 있어요. 키는 tm_key_로 시작하며 한 번만 표시돼요. 잃어버렸나요? 키를 갱신하면 이전 값은 더 이상 작동하지 않아요.

“개발자 영역 → API”에서 만들어요. 키는 요청 헤더에 담아 보내요:

curl -H "Authorization: Bearer tm_key_…" \
  https://api.tellmelo.com/v2/posts

또는 더 편하다면 별도의 헤더에 넣어도 돼요:

curl -H "X-Tellmelo-Key: tm_key_…" https://api.tellmelo.com/v2

주소창에는 넣지 마세요. 로그와 브라우저 기록에 남게 돼요.

같은 키로 이미지도 불러와요. 모든 url은 /api/media를 가리키니, 거기에도 헤더에 키를 함께 보내세요.

curl -H "Authorization: Bearer tm_key_…" \
  -o picture.webp "https://api.tellmelo.com/media?id=…"

키로 할 수 있는 것

키는 항상 읽을 수 있고, 허용하면 쓰기, 선물하기, 미디어 업로드, 그룹 관리도 할 수 있어요. 아래 각 경로에 필요한 권한이 표시돼요:

  • read: 읽기. 공개 게시물, 프로필, 그룹, 태그와 함께 내 피드, 알림, 메시지, 내 그룹의 채널.
  • write: 활동. 게시, 답글, 투표, 메시지 보내기, 그룹 채팅에 쓰기, 팔로우, 가입, 차단, 알림 읽음 표시.
  • gifts: 선물하기. 파트너의 할당량에서 멤버에게, 그리고 새 게시물 아래의 선물. 게시용 키가 절대 아무것도 선물할 수 없도록 별도의 권한이에요.
  • media: 내 미디어 라이브러리. GIF와 동영상 업로드, 변경, 공유, 삭제. 업로드에 계정의 동영상 포인트가 들기 때문에 별도의 권한이에요. 공유된 GIF와 동영상을 찾는 데는 read만 있으면 돼요.
  • groups: 그룹 관리. 역할, 채널, 카테고리, 초대 링크, 피드 채널, 삭제, 타임아웃, 추방, 차단을 내 계정이 그룹에서 할 수 있는 범위 내에서. 게시용 키가 절대 그룹 내 권한을 바꿀 수 없도록 별도의 권한이에요.

어떤 키로도 할 수 없는 것

어떤 키도 다른 키, 로그인 방식(비밀번호, 패스키, 2단계 인증, 세션), 내 계정을 대신해 활동할 수 있는 사람, 계정으로 로그인하는 앱, 관리 영역에는 접근할 수 없어요. 매우 중요한 작업(@이름, 이메일 주소, 데이터와 삭제, 금전, 그룹 소유권, 자녀 계정, 봇, 신분증)에는 비밀번호가 필요하며, 2단계 인증이 켜져 있으면 앱에서만 할 수 있어요. 일부 기능은 앱 안의 사람만 쓸 수 있어요: 모더레이터 테스트, 게시물 아래의 선물, 입력 중 추천, 번역, 통화와 음성 채널 자리, 봉인된 메시지.

봇

봇은 그룹을 위한 bot 종류의 별도 계정이에요. 비밀번호와 이메일 주소가 없고, 자체 키를 가진 내 프로그램이 조종해요. 다른 계정과 같은 API를 쓰고, 그룹에서는 역할이 허용하는 모든 일을 할 수 있어요.

  1. 내 그룹 중 하나에서 그룹 메뉴의 “봇 → 내 봇”으로 가서 이미지, 커버 이미지, 이름, 사용자 이름, 설명을 넣고 봇을 만드세요. 토큰은 한 번만 표시되며, read, write, media, groups 권한을 가져요.
  2. 봇 링크를 공유하거나 봇 디렉터리에 제출하세요. 팀이 확인하면 디렉터리에 올라가요. 그룹에서 역할을 관리할 수 있는 사람이 권한을 고르면, 봇이 가입하고 자기 역할을 받아요.
  3. 내 프로그램은 토큰을 Authorization: Bearer …로 보내고, 봇이 속한 그룹의 이벤트를 스트림으로 읽으며, 봇, 채널, 그룹 아래의 경로로 작업해요.

이벤트를 스트림으로 읽고 /ping 명령어에 요청한 사람에게만 pong으로 답하는 작은 봇:

// Node 18 or newer: reads the events of the bot's groups as they happen and answers /ping.
const BASE = 'https://api.tellmelo.com/v2';
const KEY = process.env.TELLMELO_BOT_TOKEN;
const call = (method, path, body) =>
  fetch(BASE + path, {
    method,
    headers: { Authorization: 'Bearer ' + KEY, 'Content-Type': 'application/json' },
    body: body && JSON.stringify(body),
  }).then((r) => r.json());

await call('PUT', '/me/commands', { commands: [{ name: 'ping', description: 'Answers pong' }] });

let last = '';
for (;;) {
  // The stream closes after ten minutes; Last-Event-ID goes on where it stopped.
  const res = await fetch(BASE + '/events/stream', {
    headers: { Authorization: 'Bearer ' + KEY, ...(last && { 'Last-Event-ID': last }) },
  });
  const reader = res.body.pipeThrough(new TextDecoderStream()).getReader();
  let buffer = '';
  for (;;) {
    const { value, done } = await reader.read();
    if (done) break;
    buffer += value;
    let end;
    while ((end = buffer.indexOf('

')) >= 0) {
      const data = buffer.slice(0, end).split('
').find((l) => l.startsWith('data: '));
      buffer = buffer.slice(end + 2);
      if (!data) continue;
      const event = JSON.parse(data.slice(6));
      last = event.id;
      if (event.type === 'command' && event.data.command === 'ping')
        await call('POST', '/interactions/' + event.data.interaction + '/reply', { text: 'pong', private: true });
    }
  }
}

같은 봇을 Python으로, 이벤트를 페이지 단위로 가져오는 방식:

# Python 3 with requests: the same bot, reading the events page by page.
import os, time, requests

BASE = 'https://api.tellmelo.com/v2'
H = {'Authorization': 'Bearer ' + os.environ['TELLMELO_BOT_TOKEN']}
requests.put(BASE + '/me/commands', headers=H,
             json={'commands': [{'name': 'ping', 'description': 'Answers pong'}]})

since = '0'
while True:
    page = requests.get(BASE + '/events', headers=H, params={'since': since}).json()
    for event in page['items']:
        if event['type'] == 'command' and event['data']['command'] == 'ping':
            requests.post(f"{BASE}/interactions/{event['data']['interaction']}/reply",
                          headers=H, json={'text': 'pong'})
    since = page['next'] or since
    time.sleep(2)
  • 봇이 그룹에서 할 수 있는 일은 토큰이 아니라 그 그룹에서의 역할이 정해요. 역할 이름은 봇 이름과 같아요. 그룹은 그룹 설정의 역할에서 권한을 바꾸고, 그룹 메뉴의 “봇 → 이 그룹에서”에서 봇을 삭제해요.
  • 계정당 봇은 최대 5개, 그룹당 봇은 그룹의 혜택이 허용하는 만큼이에요. 봇은 그룹마다 1분에 최대 30개의 메시지를 쓸 수 있고, 검색으로 찾을 수 없으며, 먼저 메시지를 보낸 사람에게만 메시지를 보낼 수 있어요. 한도가 적용돼요.
  • 이벤트는 직접 지정한 HTTPS 주소로도 받을 수 있어요(웹훅처럼 서명되고, 재시도 포함). 그 밖에 모두에게 또는 요청한 사람에게만 답하는 명령어(PUT /v2/me/commands), 메시지 속 카드와 버튼, 음성 채널의 음악(POST /v2/channels/{id}/voice)도 있어요. 모두 봇에서 확인하세요.

카드, 버튼, 메뉴

cards와 rows(2.26부터)로 봇 메시지를 Discord처럼 꾸밀 수 있어요. 제목에 링크(url)가 있는 카드 최대 10개, 위 줄(author)과 아래 줄(footer), 나란히 놓이는 필드(inline), 큰 이미지(image)와 작은 이미지(thumbnail, 둘 다 봇이 직접 올린 이미지), 시간(timestamp, 밀리초). 그 아래에 버튼과 링크를 최대 5개씩 또는 메뉴 하나를 담은 줄을 최대 5줄.

  • 버튼은 { type: 'button', id, label, style, emoji, disabled }이고 style은 primary, secondary, success, danger 중 하나예요. 링크 { type: 'link', url, label, emoji }는 주소를 열기만 하고 아무것도 알리지 않아요. 메뉴 { type: 'select', id, placeholder, options: [{ label, value, description, emoji, default }], min, max }에는 항목이 최대 25개예요.
  • 버튼 누르기는 button이 담긴 interaction 이벤트로, 메뉴 선택은 select와 고른 values가 담겨 와요.
  • update: true를 쓰면 답(POST /v2/interactions/{id}/reply)이 버튼이나 메뉴를 사용한 그 메시지를 바꿔요. 텍스트, 카드, 줄은 보낼 때와 같고, 누른 뒤 버튼을 끄는 데 쓸 수 있어요.
  • 지금은 만든 사람이 이 기능을 받은 봇에서만 켜져 있어요. 그 밖에는 card와 buttons가 예전처럼 동작하고 응답은 400 bot_extras예요.
// A poll with a card, a menu and buttons, sent into a chat channel.
await call('POST', '/channels/' + channel + '/messages', {
  text: 'Movie night on Friday 🎬',
  cards: [{
    author: 'Club calendar',
    title: 'Which film?',
    url: 'https://example.org/films',
    text: 'Vote until Thursday evening.',
    color: 'violet',
    fields: [{ name: 'Where', value: 'Room 2', inline: true }, { name: 'When', value: '8 pm', inline: true }],
    thumbnail: posterMediaId, // a picture the bot uploaded (POST /v2/me/pictures)
    footer: 'Up to 3 choices',
    timestamp: Date.now(),
  }],
  rows: [
    [{ type: 'select', id: 'film', placeholder: 'Choose films', min: 1, max: 3, options: [
      { label: 'Metropolis', value: 'metropolis', emoji: '🤖' },
      { label: 'Spirited Away', value: 'spirited', emoji: '🐉' },
      { label: 'Amélie', value: 'amelie', description: 'With subtitles' },
    ] }],
    [
      { type: 'button', id: 'join', label: 'I'm in', style: 'success', emoji: '🙋' },
      { type: 'link', label: 'Programme', url: 'https://example.org/films' },
    ],
  ],
});

// The choice arrives as an event; the answer turns the menu off in the message itself.
if (event.type === 'interaction' && event.data.select === 'film')
  await call('POST', '/interactions/' + event.data.interaction + '/reply', {
    update: true,
    text: 'Thanks, ' + event.data.user.name + ' voted for ' + event.data.values.join(', '),
    rows: [[{ type: 'button', id: 'join', label: 'Voting closed', disabled: true }]],
  });

요청과 응답

  • 어디서나 JSON. 오류를 포함한 모든 응답은 UTF-8 application/json이에요. 이미지만 이미지로 와요.
  • 보내는 것. POST는 필드를 본문에 JSON으로 담아요. 같은 필드가 주소에도 있으면 본문이 우선이에요.
  • 시간은 1970년 1월 1일 UTC부터의 밀리초예요.
  • ID는 문자열이에요. 반드시 전체로만 비교하세요.
  • 모든 필드는 항상 있어요. 값이 없으면 null이고, 목록은 비어 있을 수 있어요.
  • 텍스트는 일반 텍스트로, 작성된 그대로예요. #tags, @names, 링크는 그대로 유지되며, 인스턴스의 커스텀 이모지도 :name: 형태로 유지돼요. 이모지 이미지는 /emojis에 있어요.
  • 이미지는 상대 주소 /api/media?id=…예요. 헤더에 키가 없으면 401이 와요.

페이지

모든 목록은 limit과 cursor를 받고 items와 next로 응답해요. 다음 페이지를 받으려면 next를 cursor로 다시 보내세요. next가 비어 있으면 끝이에요. 커서는 불투명해요: 분해하거나 직접 만들지 마세요.

{ "items": [ … ], "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx" }

curl -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/posts?limit=20&cursor=MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"

limit이 없으면 20개, 최대 50개. 일부 목록은 페이지가 없으며, 그 next는 항상 null이에요.

새로운 것만

모든 응답에는 ETag가 있어요. 다음 요청 때 If-None-Match로 함께 보내세요. 바뀐 것이 없으면 내용 없이 304가 와요.

ETag: W/"3Qk1mJ7fQe2Yb0sVxT9aL4pNdRc"
If-None-Match: W/"3Qk1mJ7fQe2Yb0sVxT9aL4pNdRc"  →  304

예외: /feed는 순서가 계속 바뀌어 ETag가 없고, 쓰기 요청은 절대 304로 응답하지 않아요.

한도

키 하나로 분당 120회 요청할 수 있으며, “조직” 플랜은 600회예요(관리팀이 따로 정하지 않은 경우). 이를 넘으면 429가 오고 아무것도 실행되지 않아요. 1분 기다린 후 요청을 다시 보내세요.

X-RateLimit-Limit: 120
X-RateLimit-Remaining: 117
X-RateLimit-Reset: 1758624060

쓰기 요청은 몇 분 안에 올릴 수 있는 게시물 수 같은 앱의 한도에도 포함돼요. 이때도 rate_limited와 함께 429가 와요.

헤더

키 외에 필수 헤더는 없어요.

보내는 것

헤더의미
Authorization키를 담아요: Bearer tm_key_…. 일반적인 방법이에요.
X-Tellmelo-KeyAuthorization 대신 쓸 수 있는 키.
Content-Type본문이 있는 요청에는 application/json.
If-None-Match마지막 응답의 ETag. 그 후 바뀐 것이 없으면 본문 없이 304로 응답해요.

돌아오는 것

헤더의미
ETag이 응답의 지문(W/). If-None-Match로 다시 보내세요.
X-RateLimit-Limit이 키로 분당 보낼 수 있는 요청 수.
X-RateLimit-Remaining현재 분에 남은 요청 수.
X-RateLimit-Reset다음 분이 시작되는 시각, 1970년 UTC부터의 초.
X-Tellmelo-Scope이 키로 할 수 있는 것: read 또는 read write.
Retry-After429일 때: 다시 요청하기 전에 기다려야 할 초.
WWW-Authenticate키 없이 401일 때: Bearer.
Cache-Controlno-store: 어떤 프록시도 응답을 캐시할 수 없어요. 그래도 ETag로 확인할 수는 있어요.

문제가 생겼을 때

오류는 JSON으로 와요: 프로그램용으로 error에 고정된 영어 코드, 사람용으로 message에 문장 하나, 그리고 해당 상태 코드. 문장은 바뀔 수 있으니 코드만 비교하세요.

{ "error": "rate_limited",
  "message": "Too many requests. Try again in a minute.",
  "limit": 120 }

일부 오류에는 필드가 하나 더 있어요: 키가 없어서 생긴 401에는 docs, 429에는 limit.

상태코드의미해결 방법
400bad_request요청을 읽을 수 없거나, 필수 필드가 없거나, 허용되지 않는 값이에요.경로 표에서 필수 필드, 유형, 허용 값을 확인하세요. message에 대개 해당 필드가 나와요.
400bot_extras봇의 카드, 줄 또는 메뉴가 맞지 않거나 아직 켜져 있지 않아요.카드, 버튼, 메뉴의 한도를 지키세요. 켜지기 전에는 card와 buttons만 쓸 수 있어요.
401key_missing헤더에 키가 없어요.키는 Authorization: Bearer tm_key_… 또는 X-Tellmelo-Key로 보내고, 절대 주소에 넣지 마세요.
401key_invalid유효하지 않은 키예요: 오타, 교체됨, 또는 계정이 정지됨.키가 완전한지 확인하세요. 개발자 창에서 키가 아직 유효한지 볼 수 있고, 필요하면 새 키를 만들 수 있어요.
401unauthorized키 외의 이유로 로그인하지 않은 것으로 거부됐어요.앱에 로그인해 계정을 확인하세요. 정지된 계정은 키가 있어도 아무것도 할 수 없어요.
401password_required이 작업에는 계정 비밀번호가 필요해요.계정 비밀번호를 본문의 password 필드에 담아 보내세요.
403scope_missing키에 필요한 권한이 없어요. 대개 write예요.필요한 권한이 있는 키를 만드세요(각 경로 위에 표시돼요). 기존 키의 권한은 그대로 유지돼요.
403password_wrong보낸 비밀번호가 계정의 비밀번호와 달라요.비밀번호를 확인하세요. 15분 안에 다섯 번 틀리면 이후 확인마다 대기해야 해요(rate_limited).
403password_none이 계정은 자체 비밀번호 없이 로그인해요.앱에서 비밀번호를 설정하거나(설정 → 계정) 이 작업을 앱에서 하세요.
403second_factor_on이 계정은 2단계 인증이 켜져 있어요.이 작업은 앱에서 하세요. 키로는 2단계 인증을 할 수 없어요.
403people_only앱에서 사람만 할 수 있어요.앱에서만 할 수 있어요: 모더레이터 테스트, 게시물 아래의 선물, 입력 중 추천, 번역, 통화와 음성 채널 자리, 봉인된 메시지.
403account_data_locked키로는 할 수 없어요: 키, 로그인, 2단계 인증, 세션, 계정을 대신해 활동할 수 있는 사람, 관리.앱 안에서만 할 수 있고, API로는 절대 할 수 없어요.
403forbidden내 계정으로는 할 수 없어요. 예를 들어 권한이 회수됐거나 차단된 경우예요.그룹 등에서 내 역할과 권한을 확인하고, 누군가 나를 차단했는지 확인하세요.
403timed_out지금 이 그룹에서 타임아웃으로 내 계정이 음소거돼 있어요.타임아웃이 끝날 때까지 기다리세요. message에 언제까지인지 나와요.
404unknown_path이런 경로가 없거나, 이 메서드로는 없어요.경로와 메서드를 개요와 비교하세요. 끝의 슬래시도 구분돼요.
404unknown_action이 이름의 작업이 없어요.GET /actions에서 이름을 가져오세요. 목록에 내 키로 실행할 수 있는 모든 작업이 나와요.
404not_found찾을 수 없거나 볼 권한이 없어요.id를 확인하세요. 볼 수 없는 콘텐츠는 의도적으로 없는 콘텐츠와 똑같이 응답해요.
409conflict이미 있는 것과 충돌해요. 예를 들어 이미 사용 중인 이름.다른 값을 선택하거나, 다시 시도하기 전에 현재 상태를 새로 읽으세요.
409feed_off이 그룹의 피드 채널이 꺼져 있어요.그룹 운영진이 피드 채널을 켜야 해요.
413too_large이 인스턴스에는 너무 커요.파일이나 콘텐츠의 크기를 줄이세요. 인스턴스의 한도는 각 경로에 나와 있어요.
422unprocessable읽을 수는 있지만 이 형태로는 불가능해요.message를 확인하세요. 예를 들어 이미지가 너무 많은 등 콘텐츠가 규칙에 맞지 않아요.
429rate_limited요청이 너무 많아요. 아무것도 실행되지 않았어요. 기다렸다가 다시 시도하세요.X-RateLimit-Reset 또는 Retry-After에 나온 시간까지 기다리세요. 아무것도 실행되지 않았어요.
500internal_error서버에 오류가 생겼어요.조금 후에 다시 시도하고 상태 페이지를 확인하세요. 계속되면 지원팀에 알려 주세요.

버전

버전은 경로에 들어 있어요. 경로에 v2라고 적혀 있는 동안에는 경로와 필드가 그대로 유지되고, 새로운 것만 추가돼요.

기능이 추가되면 두 번째 숫자가 올라가요. 각 경로에 언제부터 있었는지 나와요.

2.27
GET /v2/me/statusPUT /v2/me/statusGET /v2/statusesGET /v2/me/activityPUT /v2/me/activityDELETE /v2/me/activityGET /v2/games
2.22
PUT /v2/conversations/{with}/messages/{id}/reactions/{emoji}DELETE /v2/conversations/{with}/messages/{id}/reactions/{emoji}PUT /v2/channel-messages/{id}/reactions/{emoji}DELETE /v2/channel-messages/{id}/reactions/{emoji}
2.21
GET /v2/actionsPOST /v2/actions/{name}GET /v2/pickPOST /v2/pick/votePOST /v2/pick/withdrawPUT /v2/me/pickPUT /v2/me/usernameGET /v2/me/settingsPUT /v2/me/settings
2.20
PUT /v2/roles/{id}/selfGET /v2/eventsGET /v2/events/streamGET /v2/me/commandsPUT /v2/me/commandsPOST /v2/interactions/{id}/replyGET /v2/communities/{id}/emojisPOST /v2/communities/{id}/emojisDELETE /v2/communities/{id}/emojis/{name}PUT /v2/communities/{id}/channels/shapePOST /v2/channels/{id}/voice
2.19
POST /v2/replies/{id}/votePOST /v2/replies/{id}/pickGET /v2/posts/{id}/replies/waitingPOST /v2/replies/{id}/decideGET /v2/posts/{id}/replies/plannedPUT /v2/me/planned-replies/{id}POST /v2/me/planned-replies/{id}/sendDELETE /v2/me/planned-replies/{id}GET /v2/posts/{id}/reply-settingsPUT /v2/posts/{id}/reply-settingsPOST /v2/posts/{id}/coauthorDELETE /v2/posts/{id}/coauthorPOST /v2/posts/{id}/pinPOST /v2/conversations/{with}/plannedGET /v2/me/planned-messagesPOST /v2/me/planned-messages/{id}/sendDELETE /v2/me/planned-messages/{id}GET /v2/profiles/{handle}/followersGET /v2/profiles/{handle}/followingGET /v2/me/relationsGET /v2/me/collectionsPOST /v2/me/collectionsPUT /v2/me/collections/{id}DELETE /v2/me/collections/{id}GET /v2/me/collections/{id}/postsPOST /v2/me/collections/{id}/postsGET /v2/profiles/{handle}/eventsPOST /v2/me/eventsPUT /v2/me/events/{id}DELETE /v2/me/events/{id}GET /v2/me/events/{id}/signupsPOST /v2/events/{id}/signupPOST /v2/me/picturesPUT /v2/me/profileGET /v2/me/emojisPOST /v2/me/emojis/picturesPOST /v2/me/emojisDELETE /v2/me/emojis/{name}PUT /v2/me/emojis/sharingGET /v2/me/webhooksPOST /v2/me/webhooksDELETE /v2/me/webhooks/{id}POST /v2/me/webhooks/{id}/testPOST /v2/communitiesPUT /v2/communities/{id}GET /v2/communities/{id}/botsGET /v2/communities/{id}/voice
2.16
PUT /v2/communities/{id}/members/{member}/timeoutDELETE /v2/communities/{id}/members/{member}/timeoutGET /v2/communities/{id}/bansPUT /v2/communities/{id}/bans/{member}DELETE /v2/communities/{id}/bans/{member}
2.15
GET /v2/communities/{id}/channelsGET /v2/channels/{id}/messagesGET /v2/communities/{id}/membersGET /v2/communities/{id}/rolesGET /v2/communities/{id}/bellGET /v2/invites/{code}POST /v2/channels/{id}/messagesPOST /v2/channels/{id}/readDELETE /v2/channel-messages/{id}PUT /v2/communities/{id}/bellPOST /v2/invites/{code}/joinPOST /v2/communities/{id}/rolesPUT /v2/roles/{id}DELETE /v2/roles/{id}PUT /v2/communities/{id}/roles/orderPUT /v2/roles/{id}/members/{member}POST /v2/communities/{id}/channelsPUT /v2/channels/{id}DELETE /v2/channels/{id}PUT /v2/communities/{id}/channels/orderGET /v2/channels/{id}/overridesPUT /v2/channels/{id}/overrides/{role}POST /v2/communities/{id}/categoriesPUT /v2/categories/{id}DELETE /v2/categories/{id}PUT /v2/communities/{id}/feedGET /v2/communities/{id}/invitesPOST /v2/communities/{id}/invitesDELETE /v2/invites/{code}POST /v2/channel-messages/{id}/removePOST /v2/communities/{id}/posts/{post}/removeDELETE /v2/communities/{id}/members/{member}GET /v2/communities/{id}/log
2.14
GET /v2/mediaGET /v2/media/mineGET /v2/media/{id}POST /v2/media/uploadsPUT /v2/media/uploads/{upload}POST /v2/media/{id}DELETE /v2/media/{id}
2.12
GET /v2/me/scheduledPOST /v2/posts/{id}/schedulePOST /v2/posts/{id}/editPOST /v2/replies/{id}/editDELETE /v2/replies/{id}POST /v2/replies/{id}/likeDELETE /v2/conversations/{with}/messages/{id}GET /v2/partner/quotaGET /v2/partner/giftsPOST /v2/partner/giftsGET /v2/gift-dropsPOST /v2/gift-drops
2.1
GET /v2/emojisPOST /v2/conversations/{with}/read
2.0
GET /v2GET /v2/postsGET /v2/posts/{id}GET /v2/posts/{id}/repliesGET /v2/profiles/{handle}GET /v2/profiles/{handle}/postsGET /v2/communitiesGET /v2/communities/{id}GET /v2/communities/{id}/postsGET /v2/tagsGET /v2/searchGET /v2/meGET /v2/feedGET /v2/notificationsGET /v2/conversationsGET /v2/conversations/{with}/messagesPOST /v2/postsDELETE /v2/posts/{id}POST /v2/posts/{id}/repliesPOST /v2/posts/{id}/votePOST /v2/relationsPOST /v2/conversations/{with}/messagesPOST /v2/notifications/read

https://api.tellmelo.com/v1/은 더 이상 없어요. 이전 경로는 410으로 응답하며 본문에 새 경로를 알려 줘요.

웹훅

웹훅은 무언가 일어나는 즉시 tellmelo가 호출하는 내 프로그램의 HTTPS 주소예요. 답글, 새 팔로워, 받아 간 선물 같은 거요. 그래서 프로그램이 계속 확인할 필요가 없어요. 웹훅은 단체 플랜이나 파트너에게 제공돼요.

개발자 창의 “웹훅”에서 만들거나, API로 webhooks 권한과 함께 POST /v2/me/webhooks를 써서 만들어요. 서명용 시크릿은 만들 때 한 번만 볼 수 있어요. “테스트”를 누르면 test 이벤트로 샘플을 보내요.

이벤트의미대상
reply답글단체 플랜
mention멘션단체 플랜
group_mention내 그룹 멘션단체 플랜
follow새 팔로워단체 플랜
like좋아요단체 플랜
repost공유단체 플랜
message메시지단체 플랜
quota_changed할당량 변경파트너
quota_gift할당량에서 선물을 보냄파트너
drop_claimed게시물의 선물이 수령됨플랜 또는 파트너
drop_empty게시물의 선물이 모두 수령됨플랜 또는 파트너

전달되는 내용

JSON이 담긴 POST: 전송의 id, type(이벤트), 밀리초 단위의 created_at, data. data에는 알림, 게시물, @이름, 할당량 같은 꼭 필요한 정보만 있고, 게시물이나 메시지의 텍스트는 절대 들어 있지 않아요. 텍스트는 프로그램이 자기 키로 가져와요.

{
  "id": "evt_7c1e5a2b-4d3f-4a6b-9c8d-2e1f0a9b8c7d",
  "type": "reply",
  "created_at": 1763200000000,
  "data": {
    "notification": "5b0c1d2e-3f4a-4b5c-8d6e-7f8a9b0c1d2e",
    "post": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "actor": "anna",
    "count": 1
  }
}
헤더의미
Content-Typeapplication/json.
User-Agent계정의 웹훅은 tellmelo-webhooks/1.0, 봇의 이벤트는 tellmelo-bots/1.0.
X-Tellmelo-Event이벤트. 본문의 type과 같아요.
X-Tellmelo-Timestamp보낸 시점(1970년 이후 초). 서명의 일부예요.
X-Tellmelo-Signaturesha256=…, 서명 확인하기 참고.

응답과 재시도

5초 안에 2xx 상태로 응답하세요. 그렇지 않으면 1분, 5분, 30분, 120분 뒤에 다시 보내고, 그 뒤에는 버려요. 하루가 지난 것은 더 이상 보내지 않아요. 연속 20번 버려지면 웹훅이 스스로 꺼지고, “테스트”로 다시 켤 수 있어요. 같은 id가 두 번 올 수도 있으니, 이미 처리한 것은 기록해 두세요.

서명 확인하기

모든 전송에는 서명이 있어요. X-Tellmelo-Signature는 sha256= 뒤에, 시크릿으로 X-Tellmelo-Timestamp 값, 점 하나, 그리고 받은 그대로의 본문을 HMAC-SHA256한 값이 붙어요. 직접 계산하고, 상수 시간으로 비교하고, 5분보다 오래된 전송은 버리세요. 봇의 이벤트를 봇 주소로 보낼 때도 같은 방식으로, 그 주소의 시크릿으로 서명돼요.

import { createHmac, timingSafeEqual } from 'node:crypto';

// raw: the body as it came (a string), headers: lower-case names, secret: from creating the webhook.
export function verify(raw, headers, secret) {
  const stamp = headers['x-tellmelo-timestamp'];
  // Older than five minutes: possibly sent again by someone else.
  if (!/^d+$/.test(stamp ?? '') || Math.abs(Date.now() / 1000 - Number(stamp)) > 300) return false;
  const expected = 'sha256=' + createHmac('sha256', secret).update(stamp + '.' + raw).digest('hex');
  const given = String(headers['x-tellmelo-signature'] ?? '');
  return given.length === expected.length && timingSafeEqual(Buffer.from(given), Buffer.from(expected));
}
import hashlib, hmac, time

# raw: the body as it came (bytes), secret: from creating the webhook.
def verify(raw: bytes, headers, secret: str) -> bool:
    stamp = headers.get('X-Tellmelo-Timestamp', '')
    # Older than five minutes: possibly sent again by someone else.
    if not stamp.isdigit() or abs(time.time() - int(stamp)) > 300:
        return False
    expected = 'sha256=' + hmac.new(secret.encode(), stamp.encode() + b'.' + raw, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, headers.get('X-Tellmelo-Signature', ''))

봇 이벤트

봇이 속한 그룹에서 일어나는 일은 이벤트로 전달돼요. 봇이 볼 수 있는 채널의 이벤트만 오고, 하루 동안 가져올 수 있어요. 각 이벤트에는 id가 있어서 프로그램이 멈춘 곳부터 이어서 받을 수 있어요. 방법은 세 가지예요:

  • 스트림으로: GET /v2/events/stream은 연결을 열어 두고 이벤트를 바로바로 보내요(Server-Sent Events). 10분이 지나면 닫히고, Last-Event-ID로 빈틈없이 이어 받을 수 있어요.
  • 페이지 단위로: GET /v2/events를 since와 함께, 한도 안에서 원하는 만큼 자주 호출해요.
  • 직접 지정한 주소로: 개발자 창에서 봇에 등록하며, 웹훅처럼 서명돼요. 2xx 응답이 없으면 10초, 1분, 5분, 30분 뒤에 다시 보내요. 연속 20번 실패하면 스스로 꺼져요.
이벤트의미
message.created메시지가 작성됐어요.
message.deleted메시지가 삭제됐어요.
reaction.added누군가 메시지에 이모지로 반응했어요.
reaction.removed누군가 반응을 취소했어요.
member.joined누군가 가입했어요.
member.left누군가 나갔거나 내보내졌어요.
voice.joined누군가 음성 채널에 들어왔어요.
command누군가 봇의 명령어를 사용했어요.
interaction누군가 봇 메시지의 버튼을 눌렀거나 메뉴에서 골랐어요.
{
  "id": "4711",
  "type": "message.created",
  "community": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
  "channel": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a",
  "createdAt": 1758634800000,
  "data": {
    "message": {
      "id": "61a2b3c4-d5e6-4f70-8192-a3b4c5d6e7f8",
      "text": "/dice 6",
      "author": {
        "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
        "handle": "mara",
        "name": "Mara 🌻",
        "bot": false
      },
      "media": 0,
      "replyTo": null,
      "threadOf": null,
      "createdAt": 1758634800000
    }
  }
}

엔드포인트

모든 경로를 한눈에 보고, 이어서 각 경로를 예시와 함께 살펴봐요.

시작점

  • GET/v2read이 인스턴스의 API 버전과 이름.

그 밖의 모든 것

  • GET/v2/actionsread내 키로 실행할 수 있는 모든 작업, 필요한 권한과 비밀번호 필요 여부 포함.
  • POST/v2/actions/{name}read앱의 모든 작업을 이름으로, 앱이 보내는 것과 같은 필드로 실행하기. 앱이 받는 결과를 result에 담아 응답해요.

게시물

  • GET/v2/postsread공개 게시물, 최신순.
  • GET/v2/posts/{id}readid로 찾은 게시물 하나.
  • POST/v2/postswrite게시물 올리기.
  • DELETE/v2/posts/{id}write내 게시물 삭제하기.
  • GET/v2/me/scheduledread아직 게시되지 않은 내 게시물과 각각 기다리는 조건.
  • POST/v2/posts/{id}/schedulewrite예약 게시물이 올라갈 시간 또는 게시물이 자동 삭제될 시간 변경하기.
  • POST/v2/posts/{id}/editwrite내 게시물의 텍스트 변경하기.
  • GET/v2/posts/{id}/reply-settingsread내 게시물에 답글을 달 수 있는 사람, 답글 승인 대기 여부, 슬로우 모드.
  • PUT/v2/posts/{id}/reply-settingswrite내 게시물의 답글 설정 변경하기. 지정하지 않은 항목은 그대로 유지돼요.
  • POST/v2/posts/{id}/coauthorwrite게시물 공동 작성자 초대 수락 또는 거절하기.
  • DELETE/v2/posts/{id}/coauthorwrite공동 작성자에서 물러나거나, 작성자로서 공동 작성자를 게시물에서 빼기.
  • POST/v2/posts/{id}/pinwrite내 게시물을 프로필 상단에 고정하거나 고정 해제하기.

답글

  • GET/v2/posts/{id}/repliesread게시물에 달린 답글, 차단한 계정 제외.
  • POST/v2/posts/{id}/replieswrite게시물에 답글 달기.
  • POST/v2/replies/{id}/editwrite내 답글의 텍스트 변경하기.
  • DELETE/v2/replies/{id}write내 답글 삭제하기.
  • POST/v2/replies/{id}/likewrite답글 추천하기(답글 투표가 생긴 이후 “좋아요”는 추천이에요) 또는 추천 취소하기. 비추천은 그대로 유지돼요.
  • POST/v2/replies/{id}/votewrite답글을 추천 또는 비추천하거나 내 투표 취소하기. 내 투표와 그 후의 점수로 응답해요.
  • POST/v2/replies/{id}/pickwrite내 게시물 아래의 답글을 베스트로 강조하거나 강조 취소하기.
  • GET/v2/posts/{id}/replies/waitingread게시물 아래에서 승인을 기다리는 답글: 내 게시물이면 전부, 아니면 내 답글만.
  • POST/v2/replies/{id}/decidewrite내 게시물 아래에서 대기 중인 답글 승인 또는 거절하기. 거절된 답글은 삭제돼요.
  • GET/v2/posts/{id}/replies/plannedread게시물 아래에 나중으로 예약한 내 답글.
  • PUT/v2/me/planned-replies/{id}write예약한 답글의 텍스트나 시간 변경하기. 실패한 답글은 변경 후 다시 대기해요.
  • POST/v2/me/planned-replies/{id}/sendwrite예약한 답글 바로 보내기.
  • DELETE/v2/me/planned-replies/{id}write예약한 답글 삭제하기.

투표

  • POST/v2/posts/{id}/votewrite투표에 참여하기.

이번 주의 게시물

  • GET/v2/pickread이번 주의 게시물: 진행 중인 라운드와 그 게시물, 내 투표, 또는 라운드가 끝난 후의 우승작. 보여 줄 것이 없으면 round는 null이에요.
  • POST/v2/pick/votewrite진행 중인 라운드의 게시물에 투표하거나 투표 바꾸기. post가 없으면 투표가 취소돼요.
  • POST/v2/pick/withdrawwrite진행 중인 라운드에서 내 게시물 빼기. 받은 투표도 함께 사라져요.
  • PUT/v2/me/pickwrite내 게시물이 이번 주의 게시물로 선정될 수 있는지. 끄면 진행 중인 라운드에서도 빠져요.

프로필

  • GET/v2/profiles/{handle}read핸들로 찾은 프로필 하나.
  • GET/v2/profiles/{handle}/postsread한 프로필의 공개 게시물, 최신순.
  • GET/v2/profiles/{handle}/eventsread프로필의 예정된 일정, 가까운 순.
  • POST/v2/me/eventswrite일정 만들기. 일정의 id로 응답해요.
  • PUT/v2/me/events/{id}write내 일정 변경하기. 모든 필드가 새로 설정돼요.
  • DELETE/v2/me/events/{id}write내 일정 삭제하기.
  • GET/v2/me/events/{id}/signupsread내 일정에 참가 신청한 사람.
  • POST/v2/events/{id}/signupwrite일정에 참가 신청하거나 취소하기.
  • GET/v2/me/statusread내 상태와 선택한 접속 표시.
  • PUT/v2/me/statuswrite상태와 접속 표시 설정하기.
  • GET/v2/statusesread멤버에게서 보이는 것: 점, 상태, 게임.
  • GET/v2/me/activityread지금 하고 있는 게임.
  • PUT/v2/me/activitywrite게임을 직접 입력하기.
  • DELETE/v2/me/activitywrite게임 표시 끝내기.
  • GET/v2/gamesread이름으로 게임 찾기.

그룹

  • GET/v2/communitiesread이 인스턴스의 공개 그룹. mine=true이면 내 계정의 그룹.
  • GET/v2/communities/{id}readid로 찾은 그룹 하나.
  • GET/v2/communities/{id}/postsread그룹 피드 채널의 게시물, 최신순.
  • GET/v2/communities/{id}/membersread그룹 멤버와 각자의 역할.
  • GET/v2/communities/{id}/rolesread그룹의 역할, 가장 높은 역할부터, @everyone은 마지막.
  • GET/v2/communities/{id}/bellread그룹이 나에게 보내는 알림 종류.
  • GET/v2/invites/{code}read가입 전에 보는 초대 링크의 그룹.
  • PUT/v2/roles/{id}/selfwrite직접 선택할 수 있는 역할을 받거나 내려놓기.
  • GET/v2/communities/{id}/emojisread그룹의 커스텀 이모지.
  • PUT/v2/communities/{id}/bellwrite그룹이 나에게 보낼 알림 설정하기.
  • POST/v2/invites/{code}/joinwrite초대 링크로 그룹에 가입하기.
  • GET/v2/communities/{id}/botsread그룹의 봇과 각 봇의 역할이 허용하는 권한.

채널

  • GET/v2/communities/{id}/channelsread내가 볼 수 있는 그룹 채널, 정렬 순서대로.
  • GET/v2/channels/{id}/messagesread채팅 채널의 메시지, 최신순.
  • POST/v2/channels/{id}/messageswrite채팅 채널에 메시지 쓰기.
  • POST/v2/channels/{id}/readwrite채팅 채널을 특정 시점까지 읽음으로 표시하기.
  • DELETE/v2/channel-messages/{id}write채팅 채널에서 내 메시지 삭제하기.
  • PUT/v2/channel-messages/{id}/reactions/{emoji}write채팅 채널의 메시지에 이모지로 반응하기.
  • DELETE/v2/channel-messages/{id}/reactions/{emoji}write채팅 채널의 메시지에 남긴 내 반응 취소하기.
  • GET/v2/communities/{id}/voiceread지금 그룹 음성 채널에 있는 사람, 채널별.

그룹 관리

  • POST/v2/communities/{id}/emojisgroups그룹에 이모지 추가하기.
  • DELETE/v2/communities/{id}/emojis/{name}groups그룹에서 이모지 삭제하기.
  • POST/v2/communities/{id}/rolesgroups역할 만들기.
  • PUT/v2/roles/{id}groups역할의 이름, 색상, 권한 변경하기.
  • DELETE/v2/roles/{id}groups역할 삭제하기.
  • PUT/v2/communities/{id}/roles/ordergroups역할의 순위 정하기.
  • PUT/v2/roles/{id}/members/{member}groups멤버에게 역할을 주거나 빼앗기.
  • POST/v2/communities/{id}/channelsgroups채팅 채널 만들기.
  • PUT/v2/channels/{id}groups채널의 이름, 주제, 카테고리 변경하기.
  • DELETE/v2/channels/{id}groups채팅 채널을 메시지와 함께 삭제하기.
  • PUT/v2/communities/{id}/channels/ordergroups카테고리와 채팅 채널의 순서 정하기.
  • PUT/v2/communities/{id}/channels/shapegroups그룹의 모든 채널 아이콘 모양 정하기.
  • GET/v2/channels/{id}/overridesgroups채널에서 역할이 그룹과 다르게 할 수 있는 것.
  • PUT/v2/channels/{id}/overrides/{role}groups채널에서 역할이 다르게 할 수 있는 것 정하기.
  • POST/v2/communities/{id}/categoriesgroups채널 카테고리 만들기.
  • PUT/v2/categories/{id}groups카테고리 이름 바꾸기.
  • DELETE/v2/categories/{id}groups카테고리 삭제하기.
  • PUT/v2/communities/{id}/feedgroups그룹의 피드 채널 켜기 또는 끄기.
  • GET/v2/communities/{id}/invitesgroups아직 유효한 그룹의 초대 링크.
  • POST/v2/communities/{id}/invitesgroups초대 링크 만들기.
  • DELETE/v2/invites/{code}groups초대 링크 취소하기.
  • POST/v2/channel-messages/{id}/removegroups채널에서 다른 멤버의 메시지 삭제하기.
  • POST/v2/communities/{id}/posts/{post}/removegroups그룹에서 게시물 삭제하기.
  • DELETE/v2/communities/{id}/members/{member}groups그룹에서 멤버 추방하기.
  • PUT/v2/communities/{id}/members/{member}/timeoutgroups멤버 음소거하기.
  • DELETE/v2/communities/{id}/members/{member}/timeoutgroups타임아웃 해제하기.
  • GET/v2/communities/{id}/bansgroups그룹에서 진행 중인 차단.
  • PUT/v2/communities/{id}/bans/{member}groups멤버 차단하기.
  • DELETE/v2/communities/{id}/bans/{member}groups차단 해제하기.
  • GET/v2/communities/{id}/loggroups운영진 기록: 누가 무엇을 왜 삭제했는지.
  • POST/v2/communitiesgroups그룹 만들기. 그룹의 id로 응답하며, 내가 그룹의 창설자가 돼요.
  • PUT/v2/communities/{id}groups내가 운영하는 그룹 변경하기. 지정하지 않은 항목은 그대로 유지돼요.

봇

  • GET/v2/eventsread특정 이벤트 이후 봇의 그룹에서 일어난 이벤트, 페이지별로.
  • GET/v2/events/streamread봇의 그룹에서 일어나는 이벤트를 실시간으로(Server-Sent Events).
  • GET/v2/me/commandsread봇의 명령어.
  • PUT/v2/me/commandswrite봇의 명령어를 한 번에 모두 설정하기.
  • POST/v2/interactions/{id}/replywrite명령어나 버튼에 응답하기.
  • POST/v2/channels/{id}/voicewrite음악이나 소리를 재생하기 위해 음성 채널에 자리 잡기.

탐색

  • GET/v2/tagsread지금 인기 있는 태그.
  • GET/v2/searchread게시물, 이름, 핸들, 태그 검색.
  • GET/v2/emojisread인스턴스의 커스텀 이모지와 이미지 주소.

GIF와 동영상

  • GET/v2/mediaread공유된 GIF나 동영상, 가장 많이 쓰인 순.
  • GET/v2/media/minemedia내 미디어 라이브러리, 최신순.
  • GET/v2/media/{id}readGIF 또는 동영상 하나, 내 것이나 공유된 것.
  • POST/v2/media/uploadsmedia업로드 시작하기.
  • PUT/v2/media/uploads/{upload}media파일 조각 하나 보내기.
  • POST/v2/media/{id}media내 GIF나 동영상 하나 변경하기.
  • DELETE/v2/media/{id}media내 GIF나 동영상 하나 삭제하기.

내 계정

  • GET/v2/meread내 프로필, 다른 경로에 필요한 id 포함.
  • GET/v2/feedread앱이 구성하는 그대로의 내 피드.
  • POST/v2/me/pictureswrite이미지를 바이트로 업로드하기. id와 url로 응답해요. 그 id를 프로필 사진, 배너 또는 게시물에 사용해요.
  • PUT/v2/me/profileprofile내 프로필 변경하기: 이름, 소개, 프로필 사진, 배너, 프로필 색상. 지정하지 않은 항목은 그대로 유지돼요.
  • GET/v2/me/emojisread내 커스텀 이모지.
  • POST/v2/me/emojis/picturesprofile커스텀 이모지 이미지를 바이트로 업로드하기.
  • POST/v2/me/emojisprofile커스텀 이모지 만들기. 내 모든 이모지로 응답해요.
  • DELETE/v2/me/emojis/{name}profile커스텀 이모지 삭제하기. 나머지 이모지로 응답해요.
  • PUT/v2/me/emojis/sharingprofile내 팔로워가 자신의 글에서 내 이모지를 쓸 수 있는지 설정하기.
  • GET/v2/me/webhookswebhooks내 웹훅과 각 상태.
  • POST/v2/me/webhookswebhooks웹훅 만들기. id와 서명용 시크릿으로 응답해요. 시크릿은 이번 한 번만 보여 줘요.
  • DELETE/v2/me/webhooks/{id}webhooks웹훅 삭제하기.
  • POST/v2/me/webhooks/{id}/testwebhooks웹훅에 테스트 보내기.
  • PUT/v2/me/usernameprofile내 @이름 변경하기. 비밀번호가 필요하며, 두 번 변경 사이의 대기 시간은 앱과 같아요.
  • GET/v2/me/settingsread내 설정과 각 값. 설정하지 않은 항목은 기본값.
  • PUT/v2/me/settingswrite설정 변경하기. 빠진 항목은 그대로 유지돼요. 변경된 설정으로 응답해요.

알림

  • GET/v2/notificationsread내 알림, 최신순.
  • POST/v2/notifications/readwrite내 알림을 읽음으로 표시하기.

메시지

  • GET/v2/conversationsread내 받은편지함: 대화당 한 줄, 최근 대화순.
  • GET/v2/conversations/{with}/messagesread한 대화의 메시지, 최신순.
  • POST/v2/conversations/{with}/messageswrite대화에서 메시지 보내기.
  • POST/v2/conversations/{with}/readwrite대화의 모든 메시지를 읽음으로 표시하기.
  • DELETE/v2/conversations/{with}/messages/{id}write내 메시지 삭제하기.
  • PUT/v2/conversations/{with}/messages/{id}/reactions/{emoji}write다이렉트 메시지에 이모지로 반응하기.
  • DELETE/v2/conversations/{with}/messages/{id}/reactions/{emoji}write다이렉트 메시지에 남긴 내 반응 취소하기.
  • POST/v2/conversations/{with}/plannedwrite메시지를 나중으로 예약하기. 예약된 메시지의 id로 응답해요.
  • GET/v2/me/planned-messagesread아직 보내지 않은 내 메시지, 시간순.
  • POST/v2/me/planned-messages/{id}/sendwrite보류됐거나 실패한 예약 메시지를 지금 보내기.
  • DELETE/v2/me/planned-messages/{id}write예약 메시지를 보내기 전에 삭제하기.

관계

  • POST/v2/relationswritekind에 따라 좋아요, 저장, 리포스트, 팔로우, 가입, 차단, 음소거.
  • GET/v2/profiles/{handle}/followersread프로필을 팔로우하는 사람, 최신순.
  • GET/v2/profiles/{handle}/followingread프로필이 팔로우하는 사람, 최신순.
  • GET/v2/me/relationsread내가 차단, 음소거 또는 메시지만 차단한 계정, 최신순.

컬렉션

  • GET/v2/me/collectionsread내 컬렉션과 각 컬렉션의 게시물 수.
  • POST/v2/me/collectionswrite컬렉션 만들기. 컬렉션의 id로 응답해요.
  • PUT/v2/me/collections/{id}write컬렉션 이름 바꾸기.
  • DELETE/v2/me/collections/{id}write컬렉션 삭제하기.
  • GET/v2/me/collections/{id}/postsread“저장됨” 탭에서처럼 보는 컬렉션의 게시물.
  • POST/v2/me/collections/{id}/postswrite게시물을 컬렉션에 넣거나 빼기.

선물

  • GET/v2/partner/quotaread선물할 수 있는 할당량이 얼마나 남았는지.
  • GET/v2/partner/giftsread할당량에서 무엇을 누구에게 언제 선물했는지, 최신순.
  • POST/v2/partner/giftsgifts할당량에서 플랜 개월 수나 스파크를 멤버에게 선물하기.
  • GET/v2/gift-dropsread게시물 아래의 내 선물: 남은 자리 수와 결제 방식.
  • POST/v2/gift-dropsgifts다른 사람이 받아 갈 수 있는 선물이 담긴 게시물 올리기.

시작점

모든 프로그램의 첫 요청: 키가 작동하는지, 무엇을 할 수 있는지.

GET/v2

이 인스턴스의 API 버전과 이름.

  • 권한 read
  • ETag 포함
  • v2.0부터

끝에 슬래시를 붙이지 마세요: https://api.tellmelo.com/v2/는 308로 https://api.tellmelo.com/v2에 리디렉션되며, 모든 프로그램이 따라가지는 않아요.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2"

응답

Service 하나로 응답해요.

예시
{
  "name": "tellmelo",
  "version": "2.28",
  "scope": "read write",
  "rateLimit": {
    "limit": 120,
    "remaining": 117
  },
  "docs": "/developers/docs",
  "spec": "/api/v2/openapi.json"
}

가능한 상태: 200304401429

그 밖의 모든 것

하나의 경로로 앱의 모든 작업, 그리고 작업을 나열하는 카탈로그.

GET/v2/actions

내 키로 실행할 수 있는 모든 작업, 필요한 권한과 비밀번호 필요 여부 포함.

  • 권한 read
  • ETag 포함
  • v2.21부터

목록에 없는 액션은 키로 사용할 수 없어요. “어떤 키로도 할 수 없는 것”을 참고하세요.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/actions"

응답

Action의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "name": "collection.new",
      "scope": "write",
      "password": false,
      "fields": [
        "name"
      ]
    }
  ],
  "next": null
}

가능한 상태: 200304401429

POST/v2/actions/{name}

앱의 모든 작업을 이름으로, 앱이 보내는 것과 같은 필드로 실행하기. 앱이 받는 결과를 result에 담아 응답해요.

  • 권한 read
  • v2.21부터

카탈로그에서 해당 액션에 지정한 권한이 필요해요. 매우 중요한 액션은 password에 비밀번호가 필요해요.

매우 중요한 단계는 password에 계정 비밀번호가 필요해요. 2단계 로그인이 켜져 있으면 키로는 두 번째 인증을 할 수 없어서, 이 단계는 앱에서만 가능해요(second_factor_on). 틀린 비밀번호는 다른 곳과 똑같은 제한에 포함돼요.

응답에 나오는 게시물은 앱에서처럼 모두 내 계정의 노출로 집계돼요. 게시물마다 하루 한 번이며, 내 게시물은 집계되지 않아요.

매개변수

이름유형의미
name경로string필수GET /actions에 나온 작업 이름, 예: collection.new. 작업의 필드는 본문에 담아요.
password본문string선택매우 중요한 작업에 필요한 내 계정 비밀번호. 2단계 인증이 켜져 있으면 이런 작업은 앱에서만 할 수 있어요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"password":"the account’s password"}' \
  "https://api.tellmelo.com/v2/actions/collection.new"

응답

ActionAnswer 하나로 응답해요.

예시
{
  "result": {
    "id": "f3a9c2e1-7b6d-4e5f-9a8b-1c2d3e4f5a6b"
  }
}

가능한 상태: 200400401404429

게시물

공개 게시물 읽기, 내 게시물 올리기와 다시 삭제하기.

GET/v2/posts

공개 게시물, 최신순.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.0부터

공개 경로에서는 counts.likes와 counts.reposts가 항상 0이고 pinned는 false예요.

그룹의 게시물은 여기가 아니라 /communities/{id}/posts에 있어요.

응답에 나오는 게시물은 앱에서처럼 모두 내 계정의 노출로 집계돼요. 게시물마다 하루 한 번이며, 내 게시물은 집계되지 않아요.

매개변수

이름유형의미
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/posts?limit=20"

응답

Post의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
      "text": "The bees are back in the garden 🐝 #garden",
      "kind": "poll",
      "author": {
        "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
        "handle": "mara",
        "name": "Mara 🌻",
        "verified": true,
        "accountKind": "person"
      },
      "community": {
        "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
        "name": "Urban Gardening"
      },
      "media": [
        {
          "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
          "kind": "image",
          "poster": null,
          "ai": "without"
        }
      ],
      "poll": {
        "options": [
          {
            "text": "Lavender",
            "votes": 12
          },
          {
            "text": "Sunflowers",
            "votes": 7
          },
          {
            "text": "Clover",
            "votes": 3
          }
        ],
        "total": 22,
        "multiple": false,
        "endsAt": null,
        "running": true,
        "resultsVisible": true,
        "myVotes": [
          0
        ]
      },
      "quotes": null,
      "continues": null,
      "counts": {
        "replies": 4,
        "likes": 31,
        "reposts": 2
      },
      "pinned": false,
      "giftDrop": {
        "item": "plan",
        "quantity": 3,
        "places": 10,
        "left": 4,
        "audience": "followers",
        "newAccounts": false,
        "status": "open",
        "claimed": true
      },
      "createdAt": 1758624000000
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304401429

GET/v2/posts/{id}

id로 찾은 게시물 하나.

  • 권한 read
  • ETag 포함
  • v2.0부터

공개 경로에서는 counts.likes와 counts.reposts가 항상 0이고 pinned는 false예요.

그룹의 게시물은 여기가 아니라 /communities/{id}/posts에 있어요.

응답에 나오는 게시물은 앱에서처럼 모두 내 계정의 노출로 집계돼요. 게시물마다 하루 한 번이며, 내 게시물은 집계되지 않아요.

매개변수

이름유형의미
id경로string필수게시물의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1"

응답

Post 하나로 응답해요.

예시
{
  "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
  "text": "The bees are back in the garden 🐝 #garden",
  "kind": "poll",
  "author": {
    "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
    "handle": "mara",
    "name": "Mara 🌻",
    "verified": true,
    "accountKind": "person"
  },
  "community": {
    "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
    "name": "Urban Gardening"
  },
  "media": [
    {
      "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
      "kind": "image",
      "poster": null,
      "ai": "without"
    }
  ],
  "poll": {
    "options": [
      {
        "text": "Lavender",
        "votes": 12
      },
      {
        "text": "Sunflowers",
        "votes": 7
      },
      {
        "text": "Clover",
        "votes": 3
      }
    ],
    "total": 22,
    "multiple": false,
    "endsAt": null,
    "running": true,
    "resultsVisible": true,
    "myVotes": [
      0
    ]
  },
  "quotes": null,
  "continues": null,
  "counts": {
    "replies": 4,
    "likes": 31,
    "reposts": 2
  },
  "pinned": false,
  "giftDrop": {
    "item": "plan",
    "quantity": 3,
    "places": 10,
    "left": 4,
    "audience": "followers",
    "newAccounts": false,
    "status": "open",
    "claimed": true
  },
  "createdAt": 1758624000000
}

가능한 상태: 200304400401404429

POST/v2/posts

게시물 올리기.

  • 권한 write
  • v2.0부터

게시물에는 텍스트나 투표가 필요해요. 길이, 투표 선택지, 속도는 인스턴스가 정하며, 이를 넘으면 400 또는 429가 와요.

media로 이미지, GIF 하나 또는 동영상 하나를 첨부해요. GIF나 동영상은 단독으로만 올라가요. 다른 사람이 공유한 GIF와 동영상은 tellmelo에서 사용해도 돼요.

친한 친구 공개 게시물이나 공동 작성자가 있는 게시물은 바로 게시되고, 그룹에 올리거나 예약할 수 없어요. 둘을 동시에 할 수는 없어요.

매개변수

이름유형의미
text본문string선택게시물, 답글 또는 메시지의 텍스트.
community본문string선택게시물이 올라갈 피드 채널이 있는 그룹의 id. 피드 채널이 켜져 있어야 하고, 해당 권한이 필요해요. 없으면 게시물은 어떤 그룹에도 속하지 않아요.
quotes본문string선택이 게시물이 인용하는 게시물의 id.
poll본문string[]선택텍스트 목록 형태의 선택지.
media본문string[]선택앱에서 업로드한 이미지의 ID, 또는 미디어 라이브러리의 GIF나 동영상 ID(2.14부터).
audience본문string선택게시물을 볼 수 있는 사람: everyone은 볼 수 있는 모든 사람, close는 친한 친구만.everyoneclose
coauthor본문string선택공동 작성자로 초대할 계정의 id. 서로 팔로우하고 있어야 해요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"text":"The bees are back in the garden 🐝 #garden","audience":"everyone"}' \
  "https://api.tellmelo.com/v2/posts"

응답

Created 하나로 응답해요.

예시
{
  "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
  "scheduledFor": null,
  "deleteAt": null
}

가능한 상태: 200400401403429

DELETE/v2/posts/{id}

내 게시물 삭제하기.

  • 권한 write
  • v2.0부터

매개변수

이름유형의미
id경로string필수게시물의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

GET/v2/me/scheduled

아직 게시되지 않은 내 게시물과 각각 기다리는 조건.

  • 권한 read
  • ETag 포함
  • v2.12부터

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/scheduled"

응답

ScheduledPost의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
      "text": "Market day tomorrow – see you at the bee stand! #garden",
      "communityId": null,
      "publishAt": 1758710400000,
      "deleteAt": null,
      "waitingFor": "time",
      "createdAt": 1758624000000
    }
  ],
  "next": null
}

가능한 상태: 200304401429

POST/v2/posts/{id}/schedule

예약 게시물이 올라갈 시간 또는 게시물이 자동 삭제될 시간 변경하기.

  • 권한 write
  • v2.12부터

내 게시물만 가능해요. 게시물의 선물이 결제되지 않은 동안에는 예약할 수 없어요.

매개변수

이름유형의미
id경로string필수게시물의 id.
publishAt본문integer선택예약 게시물이 게시될 시각, 1970년부터의 밀리초.
deleteAt본문integer선택게시물이 자동 삭제될 시각, 1970년부터의 밀리초.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1/schedule"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

POST/v2/posts/{id}/edit

내 게시물의 텍스트 변경하기.

  • 권한 write
  • v2.12부터

내 플랜이 정한 수정 가능 시간 안에서만 가능해요. 예약한 게시물은 수정할 수 없어요.

매개변수

이름유형의미
id경로string필수게시물의 id.
text본문string필수게시물, 답글 또는 메시지의 텍스트.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"text":"The bees are back in the garden 🐝🌻 #garden"}' \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1/edit"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

GET/v2/posts/{id}/reply-settings

내 게시물에 답글을 달 수 있는 사람, 답글 승인 대기 여부, 슬로우 모드.

  • 권한 read
  • ETag 포함
  • v2.19부터

매개변수

이름유형의미
id경로string필수게시물의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1/reply-settings"

응답

ReplySettings 하나로 응답해요.

예시
{
  "audience": "following",
  "approval": false,
  "slow": "auto"
}

가능한 상태: 200304400401404429

PUT/v2/posts/{id}/reply-settings

내 게시물의 답글 설정 변경하기. 지정하지 않은 항목은 그대로 유지돼요.

  • 권한 write
  • v2.19부터

내 게시물만 가능해요.

매개변수

이름유형의미
id경로string필수게시물의 id.
audience본문string선택답글을 달 수 있는 사람: 모두, 내가 팔로우하는 계정, 멘션된 사람 또는 아무도 없음.allfollowingmentionednobody
approval본문boolean선택답글이 내 승인 후에만 표시되는지 여부.
slow본문string선택슬로우 모드: auto는 답글이 많으면 자동으로 켜지고, on은 항상, off는 사용 안 함.autoonoff

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"audience":"following","approval":false,"slow":"auto"}' \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1/reply-settings"

응답

ReplySettings 하나로 응답해요.

예시
{
  "audience": "following",
  "approval": false,
  "slow": "auto"
}

가능한 상태: 200400401403404429

POST/v2/posts/{id}/coauthor

게시물 공동 작성자 초대 수락 또는 거절하기.

  • 권한 write
  • v2.19부터

매개변수

이름유형의미
id경로string필수게시물의 id.
accept본문boolean필수true는 초대를 수락하고, false는 거절해요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"accept":true}' \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1/coauthor"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

DELETE/v2/posts/{id}/coauthor

공동 작성자에서 물러나거나, 작성자로서 공동 작성자를 게시물에서 빼기.

  • 권한 write
  • v2.19부터

공동 작성자와 게시물 작성자가 사용할 수 있어요.

매개변수

이름유형의미
id경로string필수게시물의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1/coauthor"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

POST/v2/posts/{id}/pin

내 게시물을 프로필 상단에 고정하거나 고정 해제하기.

  • 권한 write
  • v2.19부터

보이는 내 게시물만 가능해요. 몇 개까지 고정할 수 있는지는 플랜에 따라 달라요.

매개변수

이름유형의미
id경로string필수게시물의 id.
active본문boolean필수true는 게시물을 고정하고, false는 고정을 해제해요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"active":true}' \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1/pin"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

답글

게시물 아래의 답글, parentId가 있는 목록 형태.

GET/v2/posts/{id}/replies

게시물에 달린 답글, 차단한 계정 제외.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.0부터

목록은 평평하고 작성 시간순이에요. parentId로 트리를 만들 수 있어요. 한 페이지에는 항상 스레드 전체가 담겨요. 차단한 계정의 답글은 빠져요.

매개변수

이름유형의미
id경로string필수게시물의 id.
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1/replies?limit=20"

응답

Reply의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "9e4b1c7d-2a3f-4d5e-8b6c-0f1e2d3c4b5a",
      "text": "Same here, the lavender is full of them.",
      "kind": "post",
      "author": {
        "id": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
        "handle": "jon",
        "name": "Jon",
        "verified": false,
        "accountKind": "person"
      },
      "community": null,
      "media": [],
      "poll": null,
      "quotes": null,
      "continues": null,
      "counts": {
        "replies": 0,
        "likes": 3,
        "reposts": 0
      },
      "pinned": false,
      "giftDrop": null,
      "createdAt": 1758624600000,
      "postId": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
      "parentId": null
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304400401404429

POST/v2/posts/{id}/replies

게시물에 답글 달기.

  • 권한 write
  • v2.0부터

슬로우 모드에서는 한 사람당 10분에 답글 하나만 쓸 수 있고, 아니면 429가 와요. 작성자와 작성자가 팔로우하는 계정은 예외예요.

media로 이미지, GIF, 동영상 중 최대 하나.

매개변수

이름유형의미
id경로string필수게시물의 id.
text본문string필수게시물, 답글 또는 메시지의 텍스트.
parentId본문string선택이 답글이 답하는 답글의 id. 없으면 게시물에 바로 달려요.
media본문string[]선택앱에서 업로드한 이미지의 ID, 또는 미디어 라이브러리의 GIF나 동영상 ID(2.14부터).
publishAt본문integer선택답글이 게시될 시각, 1970년부터의 밀리초. 없으면 바로 게시돼요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"text":"Same here, the lavender is full of them."}' \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1/replies"

응답

Created 하나로 응답해요.

예시
{
  "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
  "scheduledFor": null,
  "deleteAt": null
}

가능한 상태: 200400401403404429

POST/v2/replies/{id}/edit

내 답글의 텍스트 변경하기.

  • 권한 write
  • v2.12부터

매개변수

이름유형의미
id경로string필수답글의 id.
text본문string필수게시물, 답글 또는 메시지의 텍스트.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"text":"Same here, the lavender and the clover are full of them."}' \
  "https://api.tellmelo.com/v2/replies/9e4b1c7d-2a3f-4d5e-8b6c-0f1e2d3c4b5a/edit"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

DELETE/v2/replies/{id}

내 답글 삭제하기.

  • 권한 write
  • v2.12부터

매개변수

이름유형의미
id경로string필수답글의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/replies/9e4b1c7d-2a3f-4d5e-8b6c-0f1e2d3c4b5a"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

POST/v2/replies/{id}/like

답글 추천하기(답글 투표가 생긴 이후 “좋아요”는 추천이에요) 또는 추천 취소하기. 비추천은 그대로 유지돼요.

  • 권한 write
  • v2.12부터
  • 지원 중단

2.19부터 지원 중단: POST /replies/{id}/vote를 쓰세요. 이 경로는 당분간 유지돼요.

매개변수

이름유형의미
id경로string필수답글의 id.
active본문boolean필수true는 관계를 설정하고, false는 해제해요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"active":true}' \
  "https://api.tellmelo.com/v2/replies/9e4b1c7d-2a3f-4d5e-8b6c-0f1e2d3c4b5a/like"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

POST/v2/replies/{id}/vote

답글을 추천 또는 비추천하거나 내 투표 취소하기. 내 투표와 그 후의 점수로 응답해요.

  • 권한 write
  • v2.19부터

매개변수

이름유형의미
id경로string필수답글의 id.
vote본문string필수up은 추천, down은 비추천, none은 내 투표 취소.updownnone

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"vote":"up"}' \
  "https://api.tellmelo.com/v2/replies/9e4b1c7d-2a3f-4d5e-8b6c-0f1e2d3c4b5a/vote"

응답

ReplyVote 하나로 응답해요.

예시
{
  "vote": "up",
  "score": 12
}

가능한 상태: 200400401403404429

POST/v2/replies/{id}/pick

내 게시물 아래의 답글을 베스트로 강조하거나 강조 취소하기.

  • 권한 write
  • v2.19부터

내 게시물 아래에서만, 게시물에 직접 단 답글만 가능해요. 새로 강조하면 이전 강조를 대체해요.

매개변수

이름유형의미
id경로string필수답글의 id.
active본문boolean필수true는 답글을 강조하고, false는 강조를 취소해요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"active":true}' \
  "https://api.tellmelo.com/v2/replies/9e4b1c7d-2a3f-4d5e-8b6c-0f1e2d3c4b5a/pick"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

GET/v2/posts/{id}/replies/waiting

게시물 아래에서 승인을 기다리는 답글: 내 게시물이면 전부, 아니면 내 답글만.

  • 권한 read
  • ETag 포함
  • v2.19부터

답글을 대기시킬지는 작성자가 답글 설정에서 정해요.

매개변수

이름유형의미
id경로string필수게시물의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1/replies/waiting"

응답

Reply의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "9e4b1c7d-2a3f-4d5e-8b6c-0f1e2d3c4b5a",
      "text": "Same here, the lavender is full of them.",
      "kind": "post",
      "author": {
        "id": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
        "handle": "jon",
        "name": "Jon",
        "verified": false,
        "accountKind": "person"
      },
      "community": null,
      "media": [],
      "poll": null,
      "quotes": null,
      "continues": null,
      "counts": {
        "replies": 0,
        "likes": 3,
        "reposts": 0
      },
      "pinned": false,
      "giftDrop": null,
      "createdAt": 1758624600000,
      "postId": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
      "parentId": null
    }
  ],
  "next": null
}

가능한 상태: 200304400401404429

POST/v2/replies/{id}/decide

내 게시물 아래에서 대기 중인 답글 승인 또는 거절하기. 거절된 답글은 삭제돼요.

  • 권한 write
  • v2.19부터

매개변수

이름유형의미
id경로string필수답글의 id.
approve본문boolean필수true는 답글을 승인하고, false는 거절해요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"approve":true}' \
  "https://api.tellmelo.com/v2/replies/9e4b1c7d-2a3f-4d5e-8b6c-0f1e2d3c4b5a/decide"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

GET/v2/posts/{id}/replies/planned

게시물 아래에 나중으로 예약한 내 답글.

  • 권한 read
  • ETag 포함
  • v2.19부터

답글을 쓸 때 publishAt으로 예약해요. 예약한 답글은 동시에 최대 20개.

매개변수

이름유형의미
id경로string필수게시물의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1/replies/planned"

응답

PlannedReply의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "3b2a1c0d-9e8f-4a7b-b6c5-d4e3f2a1b0c9",
      "parentId": null,
      "text": "Count me in for Saturday!",
      "publishAt": 1758710400000,
      "state": "waiting"
    }
  ],
  "next": null
}

가능한 상태: 200304400401404429

PUT/v2/me/planned-replies/{id}

예약한 답글의 텍스트나 시간 변경하기. 실패한 답글은 변경 후 다시 대기해요.

  • 권한 write
  • v2.19부터

매개변수

이름유형의미
id경로string필수예약한 답글의 id.
text본문string선택게시물, 답글 또는 메시지의 텍스트.
publishAt본문integer선택답글이 게시될 시각, 1970년부터의 밀리초. 없으면 바로 게시돼요.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"text":"See you there!","publishAt":1758700000000}' \
  "https://api.tellmelo.com/v2/me/planned-replies/3b2a1c0d-9e8f-4a7b-b6c5-d4e3f2a1b0c9"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

POST/v2/me/planned-replies/{id}/send

예약한 답글 바로 보내기.

  • 권한 write
  • v2.19부터

매개변수

이름유형의미
id경로string필수예약한 답글의 id.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/planned-replies/3b2a1c0d-9e8f-4a7b-b6c5-d4e3f2a1b0c9/send"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

DELETE/v2/me/planned-replies/{id}

예약한 답글 삭제하기.

  • 권한 write
  • v2.19부터

매개변수

이름유형의미
id경로string필수예약한 답글의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/planned-replies/3b2a1c0d-9e8f-4a7b-b6c5-d4e3f2a1b0c9"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

투표

투표는 poll이 설정된 게시물이에요. 투표 참여에는 별도의 경로가 있어요.

POST/v2/posts/{id}/vote

투표에 참여하기.

  • 권한 write
  • v2.0부터

선택지별 득표 수는 내가 투표하거나 투표가 끝날 때까지 null이에요. total은 항상 있어요.

매개변수

이름유형의미
id경로string필수게시물의 id.
option본문integer필수선택지 번호, 0부터 시작. 복수 선택이면 선택지마다 한 번씩 호출하세요.
retract본문boolean선택true이면 투표를 취소해요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"option":0}' \
  "https://api.tellmelo.com/v2/posts/5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1/vote"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

이번 주의 게시물

주간 투표: 라운드 보기, 투표하기, 내 게시물 빼기, 내 게시물이 선정될 수 있는지 정하기.

GET/v2/pick

이번 주의 게시물: 진행 중인 라운드와 그 게시물, 내 투표, 또는 라운드가 끝난 후의 우승작. 보여 줄 것이 없으면 round는 null이에요.

  • 권한 read
  • ETag 포함
  • v2.21부터

응답에 나오는 게시물은 앱에서처럼 모두 내 계정의 노출로 집계돼요. 게시물마다 하루 한 번이며, 내 게시물은 집계되지 않아요.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/pick"

응답

PostOfTheWeek 하나로 응답해요.

예시
{
  "round": {
    "id": "r1",
    "kind": "week",
    "open": true,
    "opensAt": 1763200000000,
    "closesAt": 1763458800000,
    "nominees": [
      {
        "post": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
        "author": "mara",
        "text": "Our first harvest 🌻",
        "mine": false
      }
    ],
    "vote": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
    "mayVote": true,
    "winner": null
  }
}

가능한 상태: 200304401429

POST/v2/pick/vote

진행 중인 라운드의 게시물에 투표하거나 투표 바꾸기. post가 없으면 투표가 취소돼요.

  • 권한 write
  • v2.21부터

매개변수

이름유형의미
round본문string필수라운드, GET /pick에서 받은 id.
post본문string선택투표할 게시물. 생략하면 내 투표가 취소돼요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"round":"7c1e9a42-5b3d-4f6e-8a90-1b2c3d4e5f60","post":"b6f1c0d2-…"}' \
  "https://api.tellmelo.com/v2/pick/vote"

응답

PickVote 하나로 응답해요.

예시
{
  "vote": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1"
}

가능한 상태: 200400401403429

POST/v2/pick/withdraw

진행 중인 라운드에서 내 게시물 빼기. 받은 투표도 함께 사라져요.

  • 권한 write
  • v2.21부터

매개변수

이름유형의미
round본문string필수라운드, GET /pick에서 받은 id.
post본문string필수라운드에 오른 내 게시물.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"round":"7c1e9a42-5b3d-4f6e-8a90-1b2c3d4e5f60"}' \
  "https://api.tellmelo.com/v2/pick/withdraw"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403429

PUT/v2/me/pick

내 게시물이 이번 주의 게시물로 선정될 수 있는지. 끄면 진행 중인 라운드에서도 빠져요.

  • 권한 write
  • v2.21부터

매개변수

이름유형의미
eligible본문boolean필수true: 내 게시물이 선정될 수 있어요. false: 진행 중인 라운드를 포함해 선정될 수 없어요.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"eligible":true}' \
  "https://api.tellmelo.com/v2/me/pick"

응답

PickEligible 하나로 응답해요.

예시
{
  "eligible": true
}

가능한 상태: 200400401403429

프로필

핸들로 찾는 공개 프로필과 그 프로필이 올린 게시물.

GET/v2/profiles/{handle}

핸들로 찾은 프로필 하나.

  • 권한 read
  • ETag 포함
  • v2.0부터

매개변수

이름유형의미
handle경로string필수프로필의 핸들, 대소문자 구분 없음.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/profiles/mara"

응답

Profile 하나로 응답해요.

예시
{
  "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
  "handle": "mara",
  "name": "Mara 🌻",
  "verified": true,
  "accountKind": "person",
  "about": "Beekeeper, allotment, too many seeds. :tellmelo:",
  "website": "https://mara-imkerei.example/",
  "websiteVerified": true,
  "followers": 148,
  "createdAt": 1750848000000
}

가능한 상태: 200304400401404429

GET/v2/profiles/{handle}/posts

한 프로필의 공개 게시물, 최신순.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.0부터

공개 경로에서는 counts.likes와 counts.reposts가 항상 0이고 pinned는 false예요.

그룹의 게시물은 여기가 아니라 /communities/{id}/posts에 있어요.

응답에 나오는 게시물은 앱에서처럼 모두 내 계정의 노출로 집계돼요. 게시물마다 하루 한 번이며, 내 게시물은 집계되지 않아요.

매개변수

이름유형의미
handle경로string필수프로필의 핸들, 대소문자 구분 없음.
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/profiles/mara/posts?limit=20"

응답

Post의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
      "text": "The bees are back in the garden 🐝 #garden",
      "kind": "poll",
      "author": {
        "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
        "handle": "mara",
        "name": "Mara 🌻",
        "verified": true,
        "accountKind": "person"
      },
      "community": {
        "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
        "name": "Urban Gardening"
      },
      "media": [
        {
          "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
          "kind": "image",
          "poster": null,
          "ai": "without"
        }
      ],
      "poll": {
        "options": [
          {
            "text": "Lavender",
            "votes": 12
          },
          {
            "text": "Sunflowers",
            "votes": 7
          },
          {
            "text": "Clover",
            "votes": 3
          }
        ],
        "total": 22,
        "multiple": false,
        "endsAt": null,
        "running": true,
        "resultsVisible": true,
        "myVotes": [
          0
        ]
      },
      "quotes": null,
      "continues": null,
      "counts": {
        "replies": 4,
        "likes": 31,
        "reposts": 2
      },
      "pinned": false,
      "giftDrop": {
        "item": "plan",
        "quantity": 3,
        "places": 10,
        "left": 4,
        "audience": "followers",
        "newAccounts": false,
        "status": "open",
        "claimed": true
      },
      "createdAt": 1758624000000
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304400401404429

GET/v2/profiles/{handle}/events

프로필의 예정된 일정, 가까운 순.

  • 권한 read
  • ETag 포함
  • v2.19부터

프로필의 플랜에 일정이 포함된 동안에만 가능해요. 서로 차단한 계정 사이에는 아무것도 나오지 않아요.

매개변수

이름유형의미
handle경로string필수프로필의 핸들, 대소문자 구분 없음.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/profiles/mara/events"

응답

Event의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "2a3b4c5d-6e7f-4809-9a1b-2c3d4e5f6a7b",
      "title": "Seed swap",
      "startsAt": 1758883200000,
      "endsAt": 1758890400000,
      "place": "Community garden",
      "description": "Bring seeds, take seeds.",
      "signups": {
        "count": 14,
        "going": true
      }
    }
  ],
  "next": null
}

가능한 상태: 200304400401404429

POST/v2/me/events

일정 만들기. 일정의 id로 응답해요.

  • 권한 write
  • v2.19부터

일정이 포함된 플랜이 필요하고, 없으면 403이 와요. 예정된 일정을 몇 개 둘 수 있는지는 플랜에 따라 달라요.

매개변수

이름유형의미
title본문string필수제목.
startsAt본문integer필수시작, 1970년부터의 밀리초.
endsAt본문integer선택종료, 1970년부터의 밀리초. 선택.
place본문string선택열리는 장소.
description본문string선택설명.
signups본문boolean선택참가 신청을 받을지 여부. 참가 신청 기능이 있는 플랜이 필요해요.
capacity본문integer선택최대 참가 신청 인원. 없으면 제한 없음.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"title":"Seed swap","startsAt":1758700000000,"place":"Community garden","signups":true,"capacity":30}' \
  "https://api.tellmelo.com/v2/me/events"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403429

PUT/v2/me/events/{id}

내 일정 변경하기. 모든 필드가 새로 설정돼요.

  • 권한 write
  • v2.19부터

이미 시작된 일정은 시작 시각이 그대로 유지돼요.

매개변수

이름유형의미
id경로string필수일정의 id.
title본문string필수제목.
startsAt본문integer필수시작, 1970년부터의 밀리초.
endsAt본문integer선택종료, 1970년부터의 밀리초. 선택.
place본문string선택열리는 장소.
description본문string선택설명.
signups본문boolean선택참가 신청을 받을지 여부. 참가 신청 기능이 있는 플랜이 필요해요.
capacity본문integer선택최대 참가 신청 인원. 없으면 제한 없음.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"title":"Seed swap","startsAt":1758700000000,"place":"Community garden","signups":true,"capacity":30}' \
  "https://api.tellmelo.com/v2/me/events/2a3b4c5d-6e7f-4809-9a1b-2c3d4e5f6a7b"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403404429

DELETE/v2/me/events/{id}

내 일정 삭제하기.

  • 권한 write
  • v2.19부터

매개변수

이름유형의미
id경로string필수일정의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/events/2a3b4c5d-6e7f-4809-9a1b-2c3d4e5f6a7b"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

GET/v2/me/events/{id}/signups

내 일정에 참가 신청한 사람.

  • 권한 read
  • ETag 포함
  • v2.19부터

매개변수

이름유형의미
id경로string필수일정의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/events/2a3b4c5d-6e7f-4809-9a1b-2c3d4e5f6a7b/signups"

응답

EventSignup의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
      "handle": "mara",
      "name": "Mara 🌻",
      "at": 1758624000000
    }
  ],
  "next": null
}

가능한 상태: 200304400401404429

POST/v2/events/{id}/signup

일정에 참가 신청하거나 취소하기.

  • 권한 write
  • v2.19부터

참가 신청을 받는 일정에만, 내 일정이 아닌 경우에만 가능해요. 자리가 다 차면 409가 와요.

매개변수

이름유형의미
id경로string필수일정의 id.
going본문boolean필수true는 참가 신청, false는 신청 취소.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"going":true}' \
  "https://api.tellmelo.com/v2/events/2a3b4c5d-6e7f-4809-9a1b-2c3d4e5f6a7b/signup"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

GET/v2/me/status

내 상태와 선택한 접속 표시.

  • 권한 read
  • ETag 포함
  • v2.27부터

지금은 기능을 받은 계정에서만 돼요. 그 밖에는 설정이 403, /statuses는 빈 목록을 돌려줘요.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/status"

응답

OwnStatus 하나로 응답해요.

예시
{
  "presence": "dnd",
  "status": {
    "emoji": "🌱",
    "text": "Planting tomatoes",
    "until": 1758710400000
  }
}

가능한 상태: 200304401429

PUT/v2/me/status

상태와 접속 표시 설정하기.

  • 권한 write
  • v2.27부터

보내지 않은 항목은 그대로예요. 한 시간에 최대 60번 바꿀 수 있어요.

지금은 기능을 받은 계정에서만 돼요. 그 밖에는 설정이 403, /statuses는 빈 목록을 돌려줘요.

매개변수

이름유형의미
presence본문string선택online(10분 동안 입력이 없으면 자리 비움), idle, dnd 또는 invisible.onlineidledndinvisible
text본문string선택최대 128자. 비우면 상태가 사라져요. 텍스트가 있으면 length가 필요해요.
emoji본문string선택텍스트 앞의 이모지. 없으면 비워 두세요.
length본문string선택기간: 12h, 1d, 7d, 30d 또는 무기한 never.12h1d7d30dnever

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"presence":"dnd","text":"Planting tomatoes","emoji":"🌱","length":"1d"}' \
  "https://api.tellmelo.com/v2/me/status"

응답

OwnStatus 하나로 응답해요.

예시
{
  "presence": "dnd",
  "status": {
    "emoji": "🌱",
    "text": "Planting tomatoes",
    "until": 1758710400000
  }
}

가능한 상태: 200400401403429

GET/v2/statuses

멤버에게서 보이는 것: 점, 상태, 게임.

  • 권한 read
  • ETag 포함
  • v2.27부터

내가 차단했거나 나를 차단한 계정, 정지된 계정은 빠져요. activity는 “내가 하는 게임 보여 주기”를 켠 멤버만 있어요.

지금은 기능을 받은 계정에서만 돼요. 그 밖에는 설정이 403, /statuses는 빈 목록을 돌려줘요.

매개변수

이름유형의미
ids쿼리string필수쉼표로 구분한 계정 id 최대 300개.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/statuses?ids=a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05"

응답

MemberStatus의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
      "presence": "online",
      "status": {
        "emoji": "🌱",
        "text": "Planting tomatoes",
        "until": 1758710400000
      },
      "activity": {
        "source": "rich",
        "name": "Factorio",
        "game": {
          "id": "7c1d9e2f-3a4b-4c5d-8e6f-1a2b3c4d5e6f",
          "logo": "/api/media?id=4f3e2d1c-0b9a-4876-9543-210fedcba987"
        },
        "details": "Building a rail network",
        "state": "Multiplayer",
        "startedAt": 1758620400000,
        "endsAt": null,
        "largeImage": null,
        "largeText": null,
        "smallImage": null,
        "smallText": null,
        "party": {
          "size": 2,
          "max": 4
        },
        "buttons": [
          {
            "label": "Get the game",
            "url": "https://example.org/game"
          }
        ]
      }
    }
  ],
  "next": null
}

가능한 상태: 200304400401429

GET/v2/me/activity

지금 하고 있는 게임.

  • 권한 read
  • ETag 포함
  • v2.27부터

설정에서 “내가 하는 게임 보여 주기”를 켰을 때만 돼요. 그렇지 않으면 설정이 409를 돌려줘요.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/activity"

응답

Playing 하나로 응답해요.

예시
{
  "activity": {
    "source": "rich",
    "name": "Factorio",
    "game": {
      "id": "7c1d9e2f-3a4b-4c5d-8e6f-1a2b3c4d5e6f",
      "logo": "/api/media?id=4f3e2d1c-0b9a-4876-9543-210fedcba987"
    },
    "details": "Building a rail network",
    "state": "Multiplayer",
    "startedAt": 1758620400000,
    "endsAt": null,
    "largeImage": null,
    "largeText": null,
    "smallImage": null,
    "smallText": null,
    "party": {
      "size": 2,
      "max": 4
    },
    "buttons": [
      {
        "label": "Get the game",
        "url": "https://example.org/game"
      }
    ]
  }
}

가능한 상태: 200304401429

PUT/v2/me/activity

게임을 직접 입력하기.

  • 권한 write
  • v2.27부터

설정에서 “내가 하는 게임 보여 주기”를 켰을 때만 돼요. 그렇지 않으면 설정이 409를 돌려줘요.

지금 보이는 것을 바꿔요. 한 시간에 최대 120번.

매개변수

이름유형의미
name본문string필수게임 이름(최대 64자). 알려진 게임은 로고가 붙어요.
game본문string선택GET /v2/games에서 받은 게임 id. 없으면 이름으로 찾아요.
length본문string필수기간: 12h, 1d, 7d, 30d 또는 무기한 never.12h1d7d30dnever

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"Factorio","length":"1d"}' \
  "https://api.tellmelo.com/v2/me/activity"

응답

Playing 하나로 응답해요.

예시
{
  "activity": {
    "source": "rich",
    "name": "Factorio",
    "game": {
      "id": "7c1d9e2f-3a4b-4c5d-8e6f-1a2b3c4d5e6f",
      "logo": "/api/media?id=4f3e2d1c-0b9a-4876-9543-210fedcba987"
    },
    "details": "Building a rail network",
    "state": "Multiplayer",
    "startedAt": 1758620400000,
    "endsAt": null,
    "largeImage": null,
    "largeText": null,
    "smallImage": null,
    "smallText": null,
    "party": {
      "size": 2,
      "max": 4
    },
    "buttons": [
      {
        "label": "Get the game",
        "url": "https://example.org/game"
      }
    ]
  }
}

가능한 상태: 200400401403429

DELETE/v2/me/activity

게임 표시 끝내기.

  • 권한 write
  • v2.27부터

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/activity"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200401403429

GET/v2/games

이름으로 게임 찾기.

  • 권한 read
  • ETag 포함
  • v2.27부터

2자부터. 3자부터는 Steam 상점도 찾고, 누군가 고르기 전까지 id는 null이에요.

매개변수

이름유형의미
q쿼리string필수검색할 단어.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/games?q=Fact"

응답

Game의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "7c1d9e2f-3a4b-4c5d-8e6f-1a2b3c4d5e6f",
      "name": "Factorio",
      "logo": "/api/media?id=4f3e2d1c-0b9a-4876-9543-210fedcba987"
    }
  ],
  "next": null
}

가능한 상태: 200304400401429

그룹

공개 그룹과 내 그룹, 그 게시물, 멤버, 역할, 초대 링크.

GET/v2/communities

이 인스턴스의 공개 그룹. mine=true이면 내 계정의 그룹.

  • 권한 read
  • ETag 포함
  • v2.0부터

멤버 수순으로 정렬되며 페이지가 없어요. next는 항상 null이에요.

매개변수

이름유형의미
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
mine쿼리boolean선택true이면 내부 그룹과 숨겨진 그룹을 포함한 내 계정의 그룹, 이름순.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities?limit=20"

응답

Community의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
      "name": "Urban Gardening",
      "handle": "urbangardening",
      "description": "Balconies, allotments, rooftops: whatever grows.",
      "tags": [
        "garden",
        "bees"
      ],
      "members": 312,
      "joinPolicy": "open",
      "visibility": "open",
      "feedChannel": true,
      "sparks": 24,
      "perks": [
        "tint",
        "welcome"
      ],
      "membership": {
        "leader": null,
        "roles": [
          "4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8"
        ],
        "permissions": [
          "attach",
          "invite",
          "send",
          "view"
        ],
        "mutedUntil": null
      }
    }
  ],
  "next": null
}

가능한 상태: 200304401429

GET/v2/communities/{id}

id로 찾은 그룹 하나.

  • 권한 read
  • ETag 포함
  • v2.0부터

내부 그룹과 숨겨진 그룹은 내 계정이 멤버일 때만 나와요.

매개변수

이름유형의미
id경로string필수그룹의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60"

응답

Community 하나로 응답해요.

예시
{
  "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
  "name": "Urban Gardening",
  "handle": "urbangardening",
  "description": "Balconies, allotments, rooftops: whatever grows.",
  "tags": [
    "garden",
    "bees"
  ],
  "members": 312,
  "joinPolicy": "open",
  "visibility": "open",
  "feedChannel": true,
  "sparks": 24,
  "perks": [
    "tint",
    "welcome"
  ],
  "membership": {
    "leader": null,
    "roles": [
      "4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8"
    ],
    "permissions": [
      "attach",
      "invite",
      "send",
      "view"
    ],
    "mutedUntil": null
  }
}

가능한 상태: 200304400401404429

GET/v2/communities/{id}/posts

그룹 피드 채널의 게시물, 최신순.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.0부터

공개 경로에서는 counts.likes와 counts.reposts가 항상 0이고 pinned는 false예요.

피드 채널이 꺼져 있으면 이 경로는 feed_off와 함께 409로 응답해요.

응답에 나오는 게시물은 앱에서처럼 모두 내 계정의 노출로 집계돼요. 게시물마다 하루 한 번이며, 내 게시물은 집계되지 않아요.

매개변수

이름유형의미
id경로string필수그룹의 id.
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/posts?limit=20"

응답

Post의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
      "text": "The bees are back in the garden 🐝 #garden",
      "kind": "poll",
      "author": {
        "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
        "handle": "mara",
        "name": "Mara 🌻",
        "verified": true,
        "accountKind": "person"
      },
      "community": {
        "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
        "name": "Urban Gardening"
      },
      "media": [
        {
          "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
          "kind": "image",
          "poster": null,
          "ai": "without"
        }
      ],
      "poll": {
        "options": [
          {
            "text": "Lavender",
            "votes": 12
          },
          {
            "text": "Sunflowers",
            "votes": 7
          },
          {
            "text": "Clover",
            "votes": 3
          }
        ],
        "total": 22,
        "multiple": false,
        "endsAt": null,
        "running": true,
        "resultsVisible": true,
        "myVotes": [
          0
        ]
      },
      "quotes": null,
      "continues": null,
      "counts": {
        "replies": 4,
        "likes": 31,
        "reposts": 2
      },
      "pinned": false,
      "giftDrop": {
        "item": "plan",
        "quantity": 3,
        "places": 10,
        "left": 4,
        "audience": "followers",
        "newAccounts": false,
        "status": "open",
        "claimed": true
      },
      "createdAt": 1758624000000
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304400401404429

GET/v2/communities/{id}/members

그룹 멤버와 각자의 역할.

  • 권한 read
  • ETag 포함
  • v2.15부터

운영진이 먼저, 그다음 최고 역할 순서. 최대 300명.

매개변수

이름유형의미
id경로string필수그룹의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/members"

응답

GroupMember의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
      "handle": "jon",
      "name": "Jon",
      "bot": false,
      "leader": null,
      "roles": [
        "4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8"
      ],
      "mutedUntil": null
    }
  ],
  "next": null
}

가능한 상태: 200304400401404429

GET/v2/communities/{id}/roles

그룹의 역할, 가장 높은 역할부터, @everyone은 마지막.

  • 권한 read
  • ETag 포함
  • v2.15부터

매개변수

이름유형의미
id경로string필수그룹의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/roles"

응답

Role의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8",
      "name": "Gardeners",
      "everyone": false,
      "color": "green",
      "permissions": [
        "attach",
        "invite",
        "send",
        "view"
      ],
      "members": 24,
      "editable": true,
      "selfable": false
    }
  ],
  "next": null
}

가능한 상태: 200304400401404429

GET/v2/communities/{id}/bell

그룹이 나에게 보내는 알림 종류.

  • 권한 read
  • ETag 포함
  • v2.15부터

매개변수

이름유형의미
id경로string필수그룹의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/bell"

응답

Bell 하나로 응답해요.

예시
{
  "level": "important"
}

가능한 상태: 200304400401404429

GET/v2/invites/{code}

가입 전에 보는 초대 링크의 그룹.

  • 권한 read
  • ETag 포함
  • v2.15부터

매개변수

이름유형의미
code경로string필수초대 링크의 코드, 주소의 끝부분.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/invites/k7Qm2xPa"

응답

InvitePreview 하나로 응답해요.

예시
{
  "community": {
    "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
    "name": "Urban Gardening",
    "members": 312,
    "rules": [
      "Be kind.",
      "No advertising."
    ]
  },
  "member": false
}

가능한 상태: 200304400401404429

PUT/v2/roles/{id}/self

직접 선택할 수 있는 역할을 받거나 내려놓기.

  • 권한 write
  • v2.20부터

운영진이 직접 선택 가능하게 제공한 역할(selfable)만, 내 계정에만 가능해요.

매개변수

이름유형의미
id경로string필수역할의 id.
active본문boolean선택false이면 역할을 빼앗고, 아니면 부여해요.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"active":true}' \
  "https://api.tellmelo.com/v2/roles/4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8/self"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

GET/v2/communities/{id}/emojis

그룹의 커스텀 이모지.

  • 권한 read
  • ETag 포함
  • v2.20부터

매개변수

이름유형의미
id경로string필수그룹의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/emojis"

응답

GroupEmoji의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "name": "seedling",
      "url": "/api/media?id=8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
      "animated": false
    }
  ],
  "next": null
}

가능한 상태: 200304400401404429

PUT/v2/communities/{id}/bell

그룹이 나에게 보낼 알림 설정하기.

  • 권한 write
  • v2.15부터

매개변수

이름유형의미
id경로string필수그룹의 id.
level본문string필수받을 알림 종류.allimportantoff

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"level":"important"}' \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/bell"

응답

Bell 하나로 응답해요.

예시
{
  "level": "important"
}

가능한 상태: 200400401403404429

POST/v2/invites/{code}/join

초대 링크로 그룹에 가입하기.

  • 권한 write
  • v2.15부터

매개변수

이름유형의미
code경로string필수초대 링크의 코드, 주소의 끝부분.
rules본문boolean선택그룹 규칙에 동의하면 true. 그룹에 규칙이 있으면 필수예요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/invites/k7Qm2xPa/join"

응답

Joined 하나로 응답해요.

예시
{
  "community": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60"
}

가능한 상태: 200400401403404429

GET/v2/communities/{id}/bots

그룹의 봇과 각 봇의 역할이 허용하는 권한.

  • 권한 read
  • ETag 포함
  • v2.19부터

매개변수

이름유형의미
id경로string필수그룹의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/bots"

응답

GroupBot의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
      "handle": "gardenbot",
      "name": "Garden bot",
      "description": "Reminds the group of watering days.",
      "permissions": [
        "send",
        "view"
      ]
    }
  ],
  "next": null
}

가능한 상태: 200304400401404429

채널

내 그룹의 채널과 채팅: 읽기, 쓰기, 읽음 표시하기.

GET/v2/communities/{id}/channels

내가 볼 수 있는 그룹 채널, 정렬 순서대로.

  • 권한 read
  • ETag 포함
  • v2.15부터

피드 채널(kind: feed)은 켜져 있는 동안에만 여기에 나와요. 그 게시물은 /communities/{id}/posts로 받아요.

매개변수

이름유형의미
id경로string필수그룹의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/channels"

응답

Channel의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a",
      "kind": "chat",
      "name": "harvest",
      "topic": "What came in this week",
      "category": {
        "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
        "name": "Garden",
        "symbol": {
          "emoji": null,
          "icon": null,
          "image": null,
          "color": null,
          "shape": null
        }
      },
      "unread": 3,
      "permissions": [
        "view",
        "send",
        "react"
      ],
      "symbol": {
        "emoji": "🌻",
        "icon": null,
        "image": null,
        "color": "amber",
        "shape": "circle"
      }
    }
  ],
  "next": null
}

가능한 상태: 200304400401404429

GET/v2/channels/{id}/messages

채팅 채널의 메시지, 최신순.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.15부터

한 페이지에 최대 50개 메시지. 내가 차단했거나 나를 차단한 계정의 메시지는 빠져요.

매개변수

이름유형의미
id경로string필수채널의 id.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.
thread쿼리string선택스레드를 읽을 메시지: 채팅 대신 그 메시지와 답장들.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/channels/0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a/messages"

응답

ChannelMessage의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "61a2b3c4-d5e6-4f70-8192-a3b4c5d6e7f8",
      "text": "@jon the first tomatoes are ripe 🍅",
      "author": {
        "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
        "handle": "mara",
        "name": "Mara 🌻",
        "bot": false
      },
      "media": [
        {
          "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
          "kind": "image",
          "poster": null,
          "ai": "without"
        }
      ],
      "replyTo": "72b3c4d5-e6f7-4081-92a3-b4c5d6e7f809",
      "roleColor": "green",
      "threadOf": null,
      "threadCount": 3,
      "card": null,
      "buttons": [],
      "cards": [],
      "rows": [],
      "reactions": [],
      "createdAt": 1758631200000
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304400401404429

POST/v2/channels/{id}/messages

채팅 채널에 메시지 쓰기.

  • 권한 write
  • v2.15부터

@이름은 멤버 한 명에게, @everyone은 권한이 있으면 모두에게 알림을 보내요. 시간당 최대 여섯 번.

매개변수

이름유형의미
id경로string필수채널의 id.
text본문string선택게시물, 답글 또는 메시지의 텍스트.
replyTo본문string선택내가 답장하는, 같은 채널 메시지의 id.
media본문string[]선택앱에서 업로드한 이미지의 ID, 또는 미디어 라이브러리의 GIF나 동영상 ID(2.14부터).
thread본문string선택스레드에 답장할 채팅 메시지. 없으면 메시지는 채팅으로 가요.
card본문object선택카드 { title, text, color, fields: [{ name, value }] }, 필드는 최대 10개.
buttons본문object[]선택최대 5개의 버튼, 각각 { id, label, style }이며 style은 primary, secondary 또는 danger. 버튼을 누르면 interaction 이벤트가 와요.
cards본문object[]선택카드 최대 10개(2.26부터). 각각 card와 같고 url, author, footer, image, thumbnail, timestamp, inline이 있는 필드를 더할 수 있어요.
rows본문object[]선택줄 최대 5개(2.26부터). 각 줄은 버튼과 링크 최대 5개 또는 메뉴 하나의 목록이에요. 카드, 버튼, 메뉴를 보세요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"text":"Who has seeds to swap?"}' \
  "https://api.tellmelo.com/v2/channels/0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a/messages"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403404429

POST/v2/channels/{id}/read

채팅 채널을 특정 시점까지 읽음으로 표시하기.

  • 권한 write
  • v2.15부터

매개변수

이름유형의미
id경로string필수채널의 id.
at본문integer필수어디까지 읽었는지, 밀리초 단위. 대개 최신 메시지의 createdAt.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/channels/0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a/read"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

DELETE/v2/channel-messages/{id}

채팅 채널에서 내 메시지 삭제하기.

  • 권한 write
  • v2.15부터

내 메시지만 가능해요. 다른 사람의 메시지는 groups 권한이 있는 운영진이 삭제해요.

매개변수

이름유형의미
id경로string필수채팅 채널 메시지의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/channel-messages/61a2b3c4-d5e6-4f70-8192-a3b4c5d6e7f8"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

PUT/v2/channel-messages/{id}/reactions/{emoji}

채팅 채널의 메시지에 이모지로 반응하기.

  • 권한 write
  • v2.22부터

이모지마다 계정당 한 번, 메시지 하나에 서로 다른 이모지 최대 20개. 커스텀 이모지는 내 계정이 그것을 쓸 수 있을 때만 가능해요. 그룹에서는 react 권한이 필요하고, 봉인된 메시지에는 반응할 수 없어요. 응답에는 메시지의 모든 반응이 담겨요.

매개변수

이름유형의미
id경로string필수채팅 채널 메시지의 id.
emoji경로string필수경로에 인코딩한 이모지: 기본 이모지(🌻는 %F0%9F%8C%BB) 또는 :name: 형태의 커스텀 이모지.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/channel-messages/61a2b3c4-d5e6-4f70-8192-a3b4c5d6e7f8/reactions/🌻"

응답

Reaction의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "emoji": "🌻",
      "count": 3,
      "mine": true
    }
  ],
  "next": null
}

가능한 상태: 200400401403404429

DELETE/v2/channel-messages/{id}/reactions/{emoji}

채팅 채널의 메시지에 남긴 내 반응 취소하기.

  • 권한 write
  • v2.22부터

이모지마다 계정당 한 번, 메시지 하나에 서로 다른 이모지 최대 20개. 커스텀 이모지는 내 계정이 그것을 쓸 수 있을 때만 가능해요. 그룹에서는 react 권한이 필요하고, 봉인된 메시지에는 반응할 수 없어요. 응답에는 메시지의 모든 반응이 담겨요.

매개변수

이름유형의미
id경로string필수채팅 채널 메시지의 id.
emoji경로string필수경로에 인코딩한 이모지: 기본 이모지(🌻는 %F0%9F%8C%BB) 또는 :name: 형태의 커스텀 이모지.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/channel-messages/61a2b3c4-d5e6-4f70-8192-a3b4c5d6e7f8/reactions/🌻"

응답

Reaction의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "emoji": "🌻",
      "count": 3,
      "mine": true
    }
  ],
  "next": null
}

가능한 상태: 200400401403404429

GET/v2/communities/{id}/voice

지금 그룹 음성 채널에 있는 사람, 채널별.

  • 권한 read
  • ETag 포함
  • v2.19부터

내가 볼 수 있는 채널만 나와요. 미디어 서버가 없으면 목록이 비어 있어요.

매개변수

이름유형의미
id경로string필수그룹의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/voice"

응답

VoiceRoom의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "channel": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a",
      "people": [
        {
          "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
          "handle": "mara",
          "name": "Mara 🌻",
          "muted": false,
          "deaf": false,
          "camera": false,
          "screen": true
        }
      ]
    }
  ],
  "next": null
}

가능한 상태: 200304400401404429

그룹 관리

앱에서 그룹 설정으로 할 수 있는 일을 groups 권한으로. 내 계정이 할 수 있는 일은 앱에서처럼 그룹이 정해요: 운영진, 역할과 그 순위.

POST/v2/communities/{id}/emojis

그룹에 이모지 추가하기.

  • 권한 groups
  • v2.20부터

그룹의 채널을 관리할 수 있는 사람만 가능해요. 이미지는 커스텀 이모지처럼 업로드해요(POST /me/emojis/pictures). 이름은 모든 이모지를 통틀어 한 번만 쓸 수 있어요.

매개변수

이름유형의미
id경로string필수그룹의 id.
name본문string필수이모지를 :name:으로 쓸 때의 이름.
picture본문string필수POST /me/emojis/pictures에서 받은 id.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"seedling","picture":"8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9"}' \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/emojis"

응답

GroupEmoji의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "name": "seedling",
      "url": "/api/media?id=8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
      "animated": false
    }
  ],
  "next": null
}

가능한 상태: 200400401403404429

DELETE/v2/communities/{id}/emojis/{name}

그룹에서 이모지 삭제하기.

  • 권한 groups
  • v2.20부터

매개변수

이름유형의미
id경로string필수그룹의 id.
name경로string필수콜론 없는 이모지 이름.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/emojis/seedling"

응답

GroupEmoji의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "name": "seedling",
      "url": "/api/media?id=8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
      "animated": false
    }
  ],
  "next": null
}

가능한 상태: 200400401403404429

POST/v2/communities/{id}/roles

역할 만들기.

  • 권한 groups
  • v2.15부터

내 최고 역할보다 낮은 역할만, 내가 가진 권한만 가능해요. 운영진은 모든 역할보다 위에 있어요.

매개변수

이름유형의미
id경로string필수그룹의 id.
name본문string선택역할 이름. @everyone은 이름이 바뀌지 않아요.
color본문string선택색상: 이름(indigo, violet, rose, amber, green, teal) 또는 #rrggbb 형태의 직접 지정한 색. 없으면 비워 두세요.
permissions본문string[]선택권한: view, send, attach, react, post_feed, invite, mention_everyone, moderate, timeout_members, kick_members, ban_members, manage_channels, manage_roles.
selfable본문boolean선택true: 멤버가 직접 역할을 받아요. 참여 이상의 권한이 없는 역할만 가능해요(view, send, attach, voice_connect, voice_speak, voice_video).

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"Gardeners","color":"#e53935","permissions":["view","send","invite"],"selfable":false}' \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/roles"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403404429

PUT/v2/roles/{id}

역할의 이름, 색상, 권한 변경하기.

  • 권한 groups
  • v2.15부터

이름, 색상, 권한을 대체해요. 빠뜨린 항목은 비워져요.

내 최고 역할보다 낮은 역할만, 내가 가진 권한만 가능해요. 운영진은 모든 역할보다 위에 있어요.

매개변수

이름유형의미
id경로string필수역할의 id.
name본문string선택역할 이름. @everyone은 이름이 바뀌지 않아요.
color본문string선택색상: 이름(indigo, violet, rose, amber, green, teal) 또는 #rrggbb 형태의 직접 지정한 색. 없으면 비워 두세요.
permissions본문string[]선택권한: view, send, attach, react, post_feed, invite, mention_everyone, moderate, timeout_members, kick_members, ban_members, manage_channels, manage_roles.
selfable본문boolean선택true: 멤버가 직접 역할을 받아요. 참여 이상의 권한이 없는 역할만 가능해요(view, send, attach, voice_connect, voice_speak, voice_video).

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"Gardeners","color":"#e53935","permissions":["view","send","invite"],"selfable":false}' \
  "https://api.tellmelo.com/v2/roles/4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403404429

DELETE/v2/roles/{id}

역할 삭제하기.

  • 권한 groups
  • v2.15부터

매개변수

이름유형의미
id경로string필수역할의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/roles/4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

PUT/v2/communities/{id}/roles/order

역할의 순위 정하기.

  • 권한 groups
  • v2.15부터

매개변수

이름유형의미
id경로string필수그룹의 id.
roles본문string[]필수내 가장 높은 역할보다 낮은 모든 역할의 id, 높은 순. 운영진이면 @everyone을 제외한 전부.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/roles/order"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

PUT/v2/roles/{id}/members/{member}

멤버에게 역할을 주거나 빼앗기.

  • 권한 groups
  • v2.15부터

매개변수

이름유형의미
id경로string필수역할의 id.
member경로string필수멤버 계정의 id.
active본문boolean선택false이면 역할을 빼앗고, 아니면 부여해요.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"active":true}' \
  "https://api.tellmelo.com/v2/roles/4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8/members/d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

POST/v2/communities/{id}/channels

채팅 채널 만들기.

  • 권한 groups
  • v2.15부터

매개변수

이름유형의미
id경로string필수그룹의 id.
name본문string선택# 없는 이름. 비워 두면 앱이 각 언어로 정한 이름을 써요.
topic본문string선택채널 위에 표시되는 주제.
category본문string선택채널이 들어갈 카테고리의 id. 없으면 비워 두세요.
emoji본문string선택아이콘으로 쓸 이모지.
icon본문string선택앱의 아이콘 세트에 있는 기호, 이름으로 지정.homehashmegaphonevolumemessagehelpinfobellcalendarbookbookmarkpinshieldstarheartsparklesflamezaptrophygiftrocketlightbulbcodewrenchbriefcasegraduationpalettecamerafilmmusicgamepaddumbbellleafflowerpawsunmooncloudglobemapcoffeepizzasmile
image본문string선택/media/emoji로 업로드한 이미지의 ID.
color본문string선택타일 색상: 이름(brand, indigo, violet, rose, amber, green, teal, red) 또는 #rrggbb 형태의 직접 지정한 색.
shape본문string선택타일 모양. 없으면 원형.circlesquaretrianglediamondhexagonoctagonshieldstar

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"harvest","emoji":"🌻","color":"amber"}' \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/channels"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403404429

PUT/v2/channels/{id}

채널의 이름, 주제, 카테고리 변경하기.

  • 권한 groups
  • v2.15부터

이름, 주제, 카테고리를 대체해요. 빠뜨린 항목은 비워져요.

매개변수

이름유형의미
id경로string필수채널의 id.
name본문string선택# 없는 이름. 비워 두면 앱이 각 언어로 정한 이름을 써요.
topic본문string선택채널 위에 표시되는 주제.
category본문string선택채널이 들어갈 카테고리의 id. 없으면 비워 두세요.
emoji본문string선택아이콘으로 쓸 이모지.
icon본문string선택앱의 아이콘 세트에 있는 기호, 이름으로 지정.homehashmegaphonevolumemessagehelpinfobellcalendarbookbookmarkpinshieldstarheartsparklesflamezaptrophygiftrocketlightbulbcodewrenchbriefcasegraduationpalettecamerafilmmusicgamepaddumbbellleafflowerpawsunmooncloudglobemapcoffeepizzasmile
image본문string선택/media/emoji로 업로드한 이미지의 ID.
color본문string선택타일 색상: 이름(brand, indigo, violet, rose, amber, green, teal, red) 또는 #rrggbb 형태의 직접 지정한 색.
shape본문string선택타일 모양. 없으면 원형.circlesquaretrianglediamondhexagonoctagonshieldstar

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"harvest","emoji":"🌻","color":"amber"}' \
  "https://api.tellmelo.com/v2/channels/0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403404429

DELETE/v2/channels/{id}

채팅 채널을 메시지와 함께 삭제하기.

  • 권한 groups
  • v2.15부터

피드 채널은 삭제할 수 없고 끌 수만 있어요.

매개변수

이름유형의미
id경로string필수채널의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/channels/0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

PUT/v2/communities/{id}/channels/order

카테고리와 채팅 채널의 순서 정하기.

  • 권한 groups
  • v2.15부터

매개변수

이름유형의미
id경로string필수그룹의 id.
categories본문string[]필수그룹의 모든 카테고리 id를 새 순서대로.
channels본문string[]필수그룹의 모든 채팅 채널 id를 새 순서대로.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/channels/order"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

PUT/v2/communities/{id}/channels/shape

그룹의 모든 채널 아이콘 모양 정하기.

  • 권한 groups
  • v2.20부터

그룹 운영진만 가능해요.

매개변수

이름유형의미
id경로string필수그룹의 id.
shape본문string선택그룹의 모든 아이콘 모양. 생략하면 채널마다 각자의 모양을 써요.circlesquaretrianglediamondhexagonoctagonshieldstar

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/channels/shape"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

GET/v2/channels/{id}/overrides

채널에서 역할이 그룹과 다르게 할 수 있는 것.

  • 권한 groups
  • ETag 포함
  • v2.15부터

매개변수

이름유형의미
id경로string필수채널의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/channels/0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a/overrides"

응답

ChannelOverride의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "role": "4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8",
      "member": null,
      "allow": [
        "send"
      ],
      "deny": []
    }
  ],
  "next": null
}

가능한 상태: 200304400401403404429

PUT/v2/channels/{id}/overrides/{role}

채널에서 역할이 다르게 할 수 있는 것 정하기.

  • 권한 groups
  • v2.15부터

내 최고 역할과 같거나 그보다 높은 역할에는 불가능해요.

매개변수

이름유형의미
id경로string필수채널의 id.
role경로string필수역할의 id.
allow본문string[]선택역할이 여기서 추가로 할 수 있는 것: 채팅에서는 view, send, attach, react, mention_everyone, moderate, 피드 채널에서는 view와 post_feed.
deny본문string[]선택역할이 여기서 할 수 없는 것, 같은 권한 중에서. 두 목록이 모두 비어 있으면 예외 설정이 해제돼요.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"allow":["view"],"deny":["send"]}' \
  "https://api.tellmelo.com/v2/channels/0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a/overrides/4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

POST/v2/communities/{id}/categories

채널 카테고리 만들기.

  • 권한 groups
  • v2.15부터

매개변수

이름유형의미
id경로string필수그룹의 id.
name본문string필수카테고리 이름.
emoji본문string선택아이콘으로 쓸 이모지.
icon본문string선택앱의 아이콘 세트에 있는 기호, 이름으로 지정.homehashmegaphonevolumemessagehelpinfobellcalendarbookbookmarkpinshieldstarheartsparklesflamezaptrophygiftrocketlightbulbcodewrenchbriefcasegraduationpalettecamerafilmmusicgamepaddumbbellleafflowerpawsunmooncloudglobemapcoffeepizzasmile
image본문string선택/media/emoji로 업로드한 이미지의 ID.
color본문string선택타일 색상: 이름(brand, indigo, violet, rose, amber, green, teal, red) 또는 #rrggbb 형태의 직접 지정한 색.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"Garden","emoji":"🌻","color":"amber"}' \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/categories"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403404429

PUT/v2/categories/{id}

카테고리 이름 바꾸기.

  • 권한 groups
  • v2.15부터

매개변수

이름유형의미
id경로string필수카테고리의 id.
name본문string필수카테고리 이름.
emoji본문string선택아이콘으로 쓸 이모지.
icon본문string선택앱의 아이콘 세트에 있는 기호, 이름으로 지정.homehashmegaphonevolumemessagehelpinfobellcalendarbookbookmarkpinshieldstarheartsparklesflamezaptrophygiftrocketlightbulbcodewrenchbriefcasegraduationpalettecamerafilmmusicgamepaddumbbellleafflowerpawsunmooncloudglobemapcoffeepizzasmile
image본문string선택/media/emoji로 업로드한 이미지의 ID.
color본문string선택타일 색상: 이름(brand, indigo, violet, rose, amber, green, teal, red) 또는 #rrggbb 형태의 직접 지정한 색.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"Garden","emoji":"🌻","color":"amber"}' \
  "https://api.tellmelo.com/v2/categories/9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403404429

DELETE/v2/categories/{id}

카테고리 삭제하기.

  • 권한 groups
  • v2.15부터

안에 있던 채널은 카테고리 없이 남아요.

매개변수

이름유형의미
id경로string필수카테고리의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/categories/9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

PUT/v2/communities/{id}/feed

그룹의 피드 채널 켜기 또는 끄기.

  • 권한 groups
  • v2.15부터

꺼져 있으면 게시물은 저장되지만 작성자만 볼 수 있어요.

매개변수

이름유형의미
id경로string필수그룹의 id.
on본문boolean필수true는 피드 채널을 켜고, false는 꺼요.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/feed"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

GET/v2/communities/{id}/invites

아직 유효한 그룹의 초대 링크.

  • 권한 groups
  • ETag 포함
  • v2.15부터

운영진은 전부, 다른 사람은 자기 것만 볼 수 있어요.

매개변수

이름유형의미
id경로string필수그룹의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/invites"

응답

InviteLink의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "code": "k7Qm2xPa",
      "url": "https://tellmelo.com/groups?join=k7Qm2xPa",
      "createdBy": {
        "id": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
        "handle": "jon",
        "name": "Jon",
        "bot": false
      },
      "createdAt": 1758624000000,
      "expiresAt": 1759228800000,
      "uses": 3,
      "maxUses": 10
    }
  ],
  "next": null
}

가능한 상태: 200304400401403404429

POST/v2/communities/{id}/invites

초대 링크 만들기.

  • 권한 groups
  • v2.15부터

링크는 내가 초대할 수 있는 동안에만 유효하고, 내가 나가면 사라져요.

매개변수

이름유형의미
id경로string필수그룹의 id.
days본문integer선택링크가 유효한 일수. 없으면 취소할 때까지 유효해요.1730
uses본문integer선택링크를 쓸 수 있는 횟수. 없으면 무제한.151025100

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"days":7,"uses":10}' \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/invites"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403404429

DELETE/v2/invites/{code}

초대 링크 취소하기.

  • 권한 groups
  • v2.15부터

매개변수

이름유형의미
code경로string필수초대 링크의 코드, 주소의 끝부분.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/invites/k7Qm2xPa"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

POST/v2/channel-messages/{id}/remove

채널에서 다른 멤버의 메시지 삭제하기.

  • 권한 groups
  • v2.15부터

앱에서처럼 그룹 기록에 남고, 시간당 최대 60회.

매개변수

이름유형의미
id경로string필수채팅 채널 메시지의 id.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/channel-messages/61a2b3c4-d5e6-4f70-8192-a3b4c5d6e7f8/remove"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

POST/v2/communities/{id}/posts/{post}/remove

그룹에서 게시물 삭제하기.

  • 권한 groups
  • v2.15부터

앱에서처럼 그룹 기록에 남고, 시간당 최대 60회.

매개변수

이름유형의미
id경로string필수그룹의 id.
post경로string필수게시물의 id.
reason본문string필수멤버에게 보여 줄 사유.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"reason":"Advertising for another site, despite rule 2."}' \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/posts/post/remove"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

DELETE/v2/communities/{id}/members/{member}

그룹에서 멤버 추방하기.

  • 권한 groups
  • v2.15부터

2.16부터는 내보내기예요. 멤버는 다시 가입할 수 있어요. 들어오지 못하게 하려면 차단해요.

해당 권한이 있을 때, 내 최고 역할보다 낮은 멤버에게만 가능해요. 관리자에게는 창설자만 가능해요.

앱에서처럼 그룹 기록에 남고, 시간당 최대 60회.

매개변수

이름유형의미
id경로string필수그룹의 id.
member경로string필수멤버 계정의 id.
reason본문string필수멤버에게 보여 줄 사유.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"reason":"Advertising for another site, despite rule 2."}' \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/members/d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

PUT/v2/communities/{id}/members/{member}/timeout

멤버 음소거하기.

  • 권한 groups
  • v2.16부터

새 타임아웃은 진행 중인 타임아웃을 대체해요. 나갔다가 다시 가입해도 끝나지 않아요.

해당 권한이 있을 때, 내 최고 역할보다 낮은 멤버에게만 가능해요. 관리자에게는 창설자만 가능해요.

앱에서처럼 그룹 기록에 남고, 시간당 최대 60회.

매개변수

이름유형의미
id경로string필수그룹의 id.
member경로string필수멤버 계정의 id.
seconds본문integer필수기간, 초 단위.60300600360086400604800
reason본문string선택멤버에게 보여 줄 사유. 선택.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"seconds":600}' \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/members/d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d/timeout"

응답

Until 하나로 응답해요.

예시
{
  "until": 1758624600000
}

가능한 상태: 200400401403404429

DELETE/v2/communities/{id}/members/{member}/timeout

타임아웃 해제하기.

  • 권한 groups
  • v2.16부터

매개변수

이름유형의미
id경로string필수그룹의 id.
member경로string필수멤버 계정의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/members/d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d/timeout"

응답

Until 하나로 응답해요.

예시
{
  "until": 1758624600000
}

가능한 상태: 200400401403404429

GET/v2/communities/{id}/bans

그룹에서 진행 중인 차단.

  • 권한 groups
  • ETag 포함
  • v2.16부터

매개변수

이름유형의미
id경로string필수그룹의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/bans"

응답

Ban의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "member": {
        "id": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
        "handle": "jon",
        "name": "Jon",
        "bot": false
      },
      "until": 1759228800000,
      "createdAt": 1758624000000,
      "by": "Mara 🌻"
    }
  ],
  "next": null
}

가능한 상태: 200304400401403404429

PUT/v2/communities/{id}/bans/{member}

멤버 차단하기.

  • 권한 groups
  • v2.16부터

days가 없으면 해제할 때까지 차단이 유지돼요.

해당 권한이 있을 때, 내 최고 역할보다 낮은 멤버에게만 가능해요. 관리자에게는 창설자만 가능해요.

앱에서처럼 그룹 기록에 남고, 시간당 최대 60회.

매개변수

이름유형의미
id경로string필수그룹의 id.
member경로string필수멤버 계정의 id.
days본문integer선택기간, 일 단위. 무기한 차단이면 생략하세요.1730
reason본문string필수멤버에게 보여 줄 사유.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"days":7,"reason":"Advertising for another site, despite rule 2."}' \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/bans/d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d"

응답

Until 하나로 응답해요.

예시
{
  "until": 1758624600000
}

가능한 상태: 200400401403404429

DELETE/v2/communities/{id}/bans/{member}

차단 해제하기.

  • 권한 groups
  • v2.16부터

매개변수

이름유형의미
id경로string필수그룹의 id.
member경로string필수멤버 계정의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/bans/d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

GET/v2/communities/{id}/log

운영진 기록: 누가 무엇을 왜 삭제했는지.

  • 권한 groups
  • ETag 포함
  • v2.15부터

매개변수

이름유형의미
id경로string필수그룹의 id.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60/log"

응답

LogEntry의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "8f7e6d5c-4b3a-4291-8f7e-6d5c4b3a2918",
      "action": "message_removed",
      "member": {
        "id": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
        "handle": "jon",
        "name": "Jon",
        "bot": false
      },
      "reason": "",
      "by": "Mara 🌻",
      "channel": null,
      "createdAt": 1758710400000
    }
  ],
  "next": null
}

가능한 상태: 200304400401403404429

POST/v2/communities

그룹 만들기. 그룹의 id로 응답하며, 내가 그룹의 창설자가 돼요.

  • 권한 groups
  • v2.19부터

groups 권한이 필요해요. 따로 지정하지 않으면 그룹은 internal이며 자유롭게 가입할 수 있고, 숨겨진 그룹은 초대로만 가입할 수 있어요. 멤버가 그룹을 만들 수 있는지는 운영자가 정해요.

매개변수

이름유형의미
name본문string필수이름, 최대 60자.
description본문string선택소개, 최대 240자.
handle본문string선택@# 멘션과 링크에 쓰는 핸들: 영문 소문자, 숫자 또는 _ 3~30자.
tags본문string[]선택그룹 주제를 나타내는 #태그, 최대 5개.
joinPolicy본문string선택가입 방법: open은 자유 가입, application은 신청 후 가입, invite는 초대로만.openapplicationinvite
visibility본문string선택그룹을 볼 수 있는 사람: open은 모두, internal은 멤버만 콘텐츠를 볼 수 있음, hidden은 멤버만 그룹 자체를 볼 수 있음.openinternalhidden

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"Seed swap","handle":"seedswap","tags":["garden","seeds"],"joinPolicy":"open","visibility":"open"}' \
  "https://api.tellmelo.com/v2/communities"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403429

PUT/v2/communities/{id}

내가 운영하는 그룹 변경하기. 지정하지 않은 항목은 그대로 유지돼요.

  • 권한 groups
  • v2.19부터

groups 권한과 그룹 운영 권한이 필요해요. 운영진, 해산, 스파크 혜택은 앱에서만 할 수 있어요.

매개변수

이름유형의미
id경로string필수그룹의 id.
name본문string선택이름, 최대 60자.
description본문string선택소개, 최대 240자.
handle본문string선택@# 멘션과 링크에 쓰는 핸들: 영문 소문자, 숫자 또는 _ 3~30자.
tags본문string[]선택그룹 주제를 나타내는 #태그, 최대 5개.
joinPolicy본문string선택가입 방법: open은 자유 가입, application은 신청 후 가입, invite는 초대로만.openapplicationinvite
visibility본문string선택그룹을 볼 수 있는 사람: open은 모두, internal은 멤버만 콘텐츠를 볼 수 있음, hidden은 멤버만 그룹 자체를 볼 수 있음.openinternalhidden
image본문string선택그룹 사진으로 쓸 업로드한 이미지(POST /me/pictures)의 id. 비우면 삭제돼요.
banner본문string선택그룹 배너로 쓸 업로드한 이미지의 id. 비우면 삭제돼요.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"Seed swap","handle":"seedswap","tags":["garden","seeds"],"joinPolicy":"open","visibility":"open"}' \
  "https://api.tellmelo.com/v2/communities/c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

봇

봇의 그룹에서 일어나는 일을 실시간으로: 스트림으로, 페이지별로, 또는 주소로 전달.

GET/v2/events

특정 이벤트 이후 봇의 그룹에서 일어난 이벤트, 페이지별로.

  • 권한 read
  • v2.20부터

봇 토큰으로만 가능해요. 채널의 이벤트는 봇이 그 채널을 볼 수 있을 때만 받아요.

이벤트는 하루 동안 보관돼요. next는 마지막 이벤트의 번호이고, 다음 페이지를 받을 때 since로 써요.

매개변수

이름유형의미
since쿼리string선택봇이 이미 받은 마지막 이벤트의 번호. 없으면 스트림은 지금부터, 목록은 가장 오래된 것부터 시작해요.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/events?since=0"

응답

BotEvent의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "4711",
      "type": "message.created",
      "community": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
      "channel": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a",
      "createdAt": 1758634800000,
      "data": {
        "message": {
          "id": "61a2b3c4-d5e6-4f70-8192-a3b4c5d6e7f8",
          "text": "/dice 6",
          "author": {
            "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
            "handle": "mara",
            "name": "Mara 🌻",
            "bot": false
          },
          "media": 0,
          "replyTo": null,
          "threadOf": null,
          "createdAt": 1758634800000
        }
      }
    }
  ],
  "next": null
}

가능한 상태: 200401429

GET/v2/events/stream

봇의 그룹에서 일어나는 이벤트를 실시간으로(Server-Sent Events).

  • 권한 read
  • ETag 포함
  • v2.20부터

연결은 열린 채 유지되다가 10분 후에 닫혀요. 클라이언트는 다시 연결하면서 Last-Event-ID를 함께 보내요.

봇 토큰으로만 가능해요. 채널의 이벤트는 봇이 그 채널을 볼 수 있을 때만 받아요.

매개변수

이름유형의미
since쿼리string선택봇이 이미 받은 마지막 이벤트의 번호. 없으면 스트림은 지금부터, 목록은 가장 오래된 것부터 시작해요.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/events/stream?since=0"

응답

BotEvent 하나로 응답해요.

예시
{
  "id": "4711",
  "type": "message.created",
  "community": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
  "channel": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a",
  "createdAt": 1758634800000,
  "data": {
    "message": {
      "id": "61a2b3c4-d5e6-4f70-8192-a3b4c5d6e7f8",
      "text": "/dice 6",
      "author": {
        "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
        "handle": "mara",
        "name": "Mara 🌻",
        "bot": false
      },
      "media": 0,
      "replyTo": null,
      "threadOf": null,
      "createdAt": 1758634800000
    }
  }
}

가능한 상태: 200304401429

GET/v2/me/commands

봇의 명령어.

  • 권한 read
  • ETag 포함
  • v2.20부터

봇 토큰으로만 가능해요. 채널의 이벤트는 봇이 그 채널을 볼 수 있을 때만 받아요.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/commands"

응답

BotCommand의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "name": "dice",
      "description": "Rolls a die"
    }
  ],
  "next": null
}

가능한 상태: 200304401429

PUT/v2/me/commands

봇의 명령어를 한 번에 모두 설정하기.

  • 권한 write
  • v2.20부터

모든 명령어를 대체해요. 빈 목록을 보내면 모두 사라져요. 봇이 볼 수 있는 채팅에서는 “/” 입력 후 입력창이 명령어를 제안해요.

매개변수

이름유형의미
commands본문object[]필수최대 25개의 명령어, 각각 { name, description }.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"commands":[{"name":"dice","description":"Rolls a die"}]}' \
  "https://api.tellmelo.com/v2/me/commands"

응답

BotCommand의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "name": "dice",
      "description": "Rolls a die"
    }
  ],
  "next": null
}

가능한 상태: 200400401403429

POST/v2/interactions/{id}/reply

명령어나 버튼에 응답하기.

  • 권한 write
  • v2.20부터

command 또는 interaction 이벤트 후 15분 안에 가능해요. private을 쓰면 명령어나 버튼을 사용한 사람만 응답을 봐요.

매개변수

이름유형의미
id경로string필수이벤트의 ID(data.interaction).
text본문string선택게시물, 답글 또는 메시지의 텍스트.
private본문boolean선택true: 명령어나 버튼을 사용한 사람만 하루 동안 응답을 볼 수 있어요.
card본문object선택카드 { title, text, color, fields: [{ name, value }] }, 필드는 최대 10개.
buttons본문object[]선택최대 5개의 버튼, 각각 { id, label, style }이며 style은 primary, secondary 또는 danger. 버튼을 누르면 interaction 이벤트가 와요.
cards본문object[]선택카드 최대 10개(2.26부터). 각각 card와 같고 url, author, footer, image, thumbnail, timestamp, inline이 있는 필드를 더할 수 있어요.
rows본문object[]선택줄 최대 5개(2.26부터). 각 줄은 버튼과 링크 최대 5개 또는 메뉴 하나의 목록이에요. 카드, 버튼, 메뉴를 보세요.
update본문boolean선택true: 새 메시지를 쓰는 대신 버튼이나 메뉴를 사용한 메시지를 바꿔요(2.26부터).

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"text":"You rolled a 4.","private":true}' \
  "https://api.tellmelo.com/v2/interactions/9b8c7d6e-5f4a-4b3c-8d2e-1f0a9b8c7d6e/reply"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403404429

POST/v2/channels/{id}/voice

음악이나 소리를 재생하기 위해 음성 채널에 자리 잡기.

  • 권한 write
  • v2.20부터

봇 토큰으로만, 채널에서 봇의 역할이 허용하는 대로 가능해요. 프로그램은 LiveKit SDK로 연결해 소리를 마이크로 보내요. 다른 사람은 각자 그 음량을 조절해요.

매개변수

이름유형의미
id경로string필수채널의 id.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/channels/0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a/voice"

응답

VoiceSeat 하나로 응답해요.

예시
{
  "url": "wss://voice.example.org",
  "token": "eyJhbGciOiJIUzI1NiJ9…",
  "iceServers": [
    {
      "urls": [
        "stun:turn.example.org:3478"
      ]
    }
  ],
  "speak": true,
  "video": false
}

가능한 상태: 200400401403404429

탐색

트렌드, 검색, 인스턴스의 커스텀 이모지.

GET/v2/tags

지금 인기 있는 태그.

  • 권한 read
  • ETag 포함
  • v2.0부터

점수순으로 최대 10개의 인기 태그: 사용할 때마다 1점이며 3일마다 절반으로 줄고, 한 계정은 하루에 최대 3점까지 계산돼요. posts는 반올림한 점수예요. limit은 목록만 줄여요. 팀이 강조한 태그는 더 위에 있을 수 있어요.

매개변수

이름유형의미
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/tags?limit=10"

응답

Tag의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "tag": "garden",
      "posts": 58
    }
  ],
  "next": null
}

가능한 상태: 200304401429

GET/v2/search

게시물, 이름, 핸들, 태그 검색.

  • 권한 read
  • ETag 포함
  • v2.0부터

공개 콘텐츠만 검색해요: 그룹 밖의 게시물, 프로필, 태그. limit은 유형별로 적용돼요.

응답에 나오는 게시물은 앱에서처럼 모두 내 계정의 노출로 집계돼요. 게시물마다 하루 한 번이며, 내 게시물은 집계되지 않아요.

매개변수

이름유형의미
q쿼리string필수검색할 단어.
type쿼리string선택결과 유형. 없으면 모든 유형.allpostsprofilestags
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/search?q=garden&type=posts"

응답

SearchResult 하나로 응답해요.

예시
{
  "posts": [
    {
      "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
      "text": "The bees are back in the garden 🐝 #garden",
      "kind": "poll",
      "author": {
        "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
        "handle": "mara",
        "name": "Mara 🌻",
        "verified": true,
        "accountKind": "person"
      },
      "community": {
        "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
        "name": "Urban Gardening"
      },
      "media": [
        {
          "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
          "kind": "image",
          "poster": null,
          "ai": "without"
        }
      ],
      "poll": {
        "options": [
          {
            "text": "Lavender",
            "votes": 12
          },
          {
            "text": "Sunflowers",
            "votes": 7
          },
          {
            "text": "Clover",
            "votes": 3
          }
        ],
        "total": 22,
        "multiple": false,
        "endsAt": null,
        "running": true,
        "resultsVisible": true,
        "myVotes": [
          0
        ]
      },
      "quotes": null,
      "continues": null,
      "counts": {
        "replies": 4,
        "likes": 31,
        "reposts": 2
      },
      "pinned": false,
      "giftDrop": {
        "item": "plan",
        "quantity": 3,
        "places": 10,
        "left": 4,
        "audience": "followers",
        "newAccounts": false,
        "status": "open",
        "claimed": true
      },
      "createdAt": 1758624000000
    }
  ],
  "profiles": [
    {
      "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
      "handle": "mara",
      "name": "Mara 🌻",
      "verified": true,
      "accountKind": "person"
    }
  ],
  "tags": [
    {
      "tag": "garden",
      "posts": 58
    }
  ]
}

가능한 상태: 200304400401429

GET/v2/emojis

인스턴스의 커스텀 이모지와 이미지 주소.

  • 권한 read
  • ETag 포함
  • v2.1부터

텍스트에서 이모지는 :name: 형태로 나와요. 이 목록의 이미지로 바꾸세요. 모르는 이름은 텍스트로 남아요.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/emojis"

응답

Emoji의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "name": "tellmelo",
      "url": "/api/media?id=e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
    }
  ],
  "next": null
}

가능한 상태: 200304401429

GIF와 동영상

미디어 라이브러리: 공유된 GIF와 동영상 찾기, 내 것 업로드하고 관리하기, 다른 웹사이트에 삽입하기.

GET/v2/media

공유된 GIF나 동영상, 가장 많이 쓰인 순.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.14부터

내가 차단했거나 나를 차단한 계정은 제외돼요. url과 poster는 tellmelo의 게시물용으로 헤더에 키를 넣어 불러와요.

다른 웹사이트에는 embed가 있는 것만 쓸 수 있어요. 그 주소는 키 없이 어느 브라우저에서나 작동해요.

매개변수

이름유형의미
kind쿼리string선택gif 또는 video. 지정하지 않으면 gif.gifvideo
q쿼리string선택이름이나 키워드에 들어 있는 단어.
anywhere쿼리boolean선택true: 다른 웹사이트에도 나올 수 있는 것만.
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/media?kind=gif&q=bees&anywhere=true&limit=20"

응답

MediaItem의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
      "kind": "gif",
      "name": "Happy bees",
      "keywords": "bees garden happy",
      "width": 480,
      "height": 270,
      "seconds": 0,
      "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
      "poster": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918&poster=1",
      "uploader": {
        "handle": "mara",
        "name": "Mara 🌻"
      },
      "mine": false,
      "shared": true,
      "anywhere": true,
      "embed": {
        "page": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
        "file": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918/file",
        "poster": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918/poster",
        "code": "<iframe src=\"https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918\" width=\"480\" height=\"300\" title=\"Happy bees\" style=\"border:0;max-width:100%\" loading=\"lazy\" allowfullscreen></iframe>"
      }
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304400401429

GET/v2/media/mine

내 미디어 라이브러리, 최신순.

  • 권한 media
  • 페이지 가능
  • ETag 포함
  • v2.14부터

매개변수

이름유형의미
kind쿼리string선택gif 또는 video. 지정하지 않으면 gif.gifvideo
q쿼리string선택이름이나 키워드에 들어 있는 단어.
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/media/mine?kind=gif&q=bees&limit=20"

응답

MediaItem의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
      "kind": "gif",
      "name": "Happy bees",
      "keywords": "bees garden happy",
      "width": 480,
      "height": 270,
      "seconds": 0,
      "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
      "poster": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918&poster=1",
      "uploader": {
        "handle": "mara",
        "name": "Mara 🌻"
      },
      "mine": false,
      "shared": true,
      "anywhere": true,
      "embed": {
        "page": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
        "file": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918/file",
        "poster": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918/poster",
        "code": "<iframe src=\"https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918\" width=\"480\" height=\"300\" title=\"Happy bees\" style=\"border:0;max-width:100%\" loading=\"lazy\" allowfullscreen></iframe>"
      }
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304400401403429

GET/v2/media/{id}

GIF 또는 동영상 하나, 내 것이나 공유된 것.

  • 권한 read
  • ETag 포함
  • v2.14부터

매개변수

이름유형의미
id경로string필수GIF나 동영상의 ID.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/media/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918"

응답

MediaItem 하나로 응답해요.

예시
{
  "id": "b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
  "kind": "gif",
  "name": "Happy bees",
  "keywords": "bees garden happy",
  "width": 480,
  "height": 270,
  "seconds": 0,
  "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
  "poster": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918&poster=1",
  "uploader": {
    "handle": "mara",
    "name": "Mara 🌻"
  },
  "mine": false,
  "shared": true,
  "anywhere": true,
  "embed": {
    "page": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
    "file": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918/file",
    "poster": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918/poster",
    "code": "<iframe src=\"https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918\" width=\"480\" height=\"300\" title=\"Happy bees\" style=\"border:0;max-width:100%\" loading=\"lazy\" allowfullscreen></iframe>"
  }
}

가능한 상태: 200304400401404429

POST/v2/media/uploads

업로드 시작하기.

  • 권한 media
  • v2.14부터

그다음 파일을 최대 piece바이트 크기의 조각으로 나눠 /media/uploads/{upload}로 보내요. 새 조각이 15분 동안 없으면 업로드가 끝나요.

앱과 같은 제한이 적용돼요: GIF는 최대 15MB, 동영상 크기와 길이는 플랜에 따라, 하루 GIF 수, 비공개 GIF, 주간 동영상 포인트. 넘으면 409, 413 또는 429가 와요.

매개변수

이름유형의미
kind본문string필수gif 또는 video. 지정하지 않으면 gif.gifvideo
size본문integer필수전체 파일 크기, 바이트 단위.
name본문string필수검색에 쓰이는 이름: 2~40자.
keywords본문string선택검색용 키워드, 공백으로 구분.
shared본문boolean선택true: tellmelo의 모든 사람과 공유.
anywhere본문boolean선택true: 공유되며 다른 웹사이트에서도 허용. shared와 함께일 때만.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"kind":"gif","size":2400000,"name":"Happy bees","keywords":"bees garden","shared":true,"anywhere":false}' \
  "https://api.tellmelo.com/v2/media/uploads"

응답

UploadStarted 하나로 응답해요.

예시
{
  "upload": "e7c1a2b3-4d5e-4f60-8a9b-0c1d2e3f4a5b",
  "piece": 4194304
}

가능한 상태: 200400401403429

PUT/v2/media/uploads/{upload}

파일 조각 하나 보내기.

  • 권한 media
  • v2.14부터

본문은 조각 자체(application/octet-stream)이고 JSON이 아니에요. 이어지지 않으면 received와 함께 409가 와요. 그 지점부터 이어서 보내요. 마지막 조각 후에 변환되고, 그때 응답에 item이 있어요.

매개변수

이름유형의미
upload경로string필수업로드 시작 시 받은 upload.
offset쿼리integer필수파일에서 조각이 시작되는 위치, 바이트 단위. 첫 조각은 0.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/octet-stream" \
  --data-binary @piece \
  "https://api.tellmelo.com/v2/media/uploads/e7c1a2b3-4d5e-4f60-8a9b-0c1d2e3f4a5b?offset=0"

응답

UploadPiece 하나로 응답해요.

예시
{
  "received": 4194304,
  "item": null
}

가능한 상태: 200400401403404429

POST/v2/media/{id}

내 GIF나 동영상 하나 변경하기.

  • 권한 media
  • v2.14부터

매개변수

이름유형의미
id경로string필수GIF나 동영상의 ID.
name본문string선택검색에 쓰이는 이름: 2~40자.
keywords본문string선택검색용 키워드, 공백으로 구분.
shared본문boolean선택true: tellmelo의 모든 사람과 공유.
anywhere본문boolean선택true: 공유되며 다른 웹사이트에서도 허용. shared와 함께일 때만.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"Happy bees","anywhere":true}' \
  "https://api.tellmelo.com/v2/media/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

DELETE/v2/media/{id}

내 GIF나 동영상 하나 삭제하기.

  • 권한 media
  • v2.14부터

이미 표시하고 있는 게시물에는 그대로 남아요. 다른 웹사이트에서는 몇 분 안에 사라져요.

매개변수

이름유형의미
id경로string필수GIF나 동영상의 ID.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/media/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

내 계정

내 프로필, 내 피드, 내 커스텀 이모지와 내 웹훅.

GET/v2/me

내 프로필, 다른 경로에 필요한 id 포함.

  • 권한 read
  • ETag 포함
  • v2.0부터

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me"

응답

Profile 하나로 응답해요.

예시
{
  "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
  "handle": "mara",
  "name": "Mara 🌻",
  "verified": true,
  "accountKind": "person",
  "about": "Beekeeper, allotment, too many seeds. :tellmelo:",
  "website": "https://mara-imkerei.example/",
  "websiteVerified": true,
  "followers": 148,
  "createdAt": 1750848000000
}

가능한 상태: 200304401429

GET/v2/feed

앱이 구성하는 그대로의 내 피드.

  • 권한 read
  • 페이지 가능
  • v2.0부터

순서가 계속 바뀌어서 ETag가 없어요. 한번 시작한 목록은 끝까지 그대로 유지돼요.

응답에 나오는 게시물은 앱에서처럼 모두 내 계정의 노출로 집계돼요. 게시물마다 하루 한 번이며, 내 게시물은 집계되지 않아요.

매개변수

이름유형의미
tab쿼리string선택어떤 피드인지: for-you, following, latest 또는 bookmarks. 기본값은 latest.for-youfollowinglatestbookmarks
tag쿼리string선택이 태그에 관한 게시물만: 태그를 달고 작성했거나 서버가 인식한 게시물. 없으면 필터 없음.
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/feed?tab=following&limit=20"

응답

Post의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
      "text": "The bees are back in the garden 🐝 #garden",
      "kind": "poll",
      "author": {
        "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
        "handle": "mara",
        "name": "Mara 🌻",
        "verified": true,
        "accountKind": "person"
      },
      "community": {
        "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
        "name": "Urban Gardening"
      },
      "media": [
        {
          "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
          "kind": "image",
          "poster": null,
          "ai": "without"
        }
      ],
      "poll": {
        "options": [
          {
            "text": "Lavender",
            "votes": 12
          },
          {
            "text": "Sunflowers",
            "votes": 7
          },
          {
            "text": "Clover",
            "votes": 3
          }
        ],
        "total": 22,
        "multiple": false,
        "endsAt": null,
        "running": true,
        "resultsVisible": true,
        "myVotes": [
          0
        ]
      },
      "quotes": null,
      "continues": null,
      "counts": {
        "replies": 4,
        "likes": 31,
        "reposts": 2
      },
      "pinned": false,
      "giftDrop": {
        "item": "plan",
        "quantity": 3,
        "places": 10,
        "left": 4,
        "audience": "followers",
        "newAccounts": false,
        "status": "open",
        "claimed": true
      },
      "createdAt": 1758624000000
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200400401429

POST/v2/me/pictures

이미지를 바이트로 업로드하기. id와 url로 응답해요. 그 id를 프로필 사진, 배너 또는 게시물에 사용해요.

  • 권한 write
  • v2.19부터

PNG, JPEG, WebP 또는 GIF. 첫 바이트로 형식을 인식하고 메타데이터 없이 새로 저장해요. 어디에도 쓰이지 않는 이미지는 나중에 삭제돼요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/octet-stream" \
  --data-binary @picture.png \
  "https://api.tellmelo.com/v2/me/pictures"

응답

Picture 하나로 응답해요.

예시
{
  "id": "8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
  "url": "/api/media?id=8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9"
}

가능한 상태: 200401403429

PUT/v2/me/profile

내 프로필 변경하기: 이름, 소개, 프로필 사진, 배너, 프로필 색상. 지정하지 않은 항목은 그대로 유지돼요.

  • 권한 profile
  • v2.19부터

profile 권한이 필요해요. @이름은 비밀번호와 함께 PUT /me/username으로 변경해요.

매개변수

이름유형의미
name본문string선택표시 이름, 최대 60자.
about본문string선택“소개” 텍스트.
avatar본문string선택프로필 사진으로 쓸 업로드한 이미지의 id. 비우면 삭제돼요.
banner본문string선택배너로 쓸 업로드한 이미지의 id. 비우면 삭제돼요.
color본문string선택프로필 색상, 플랜 필요. null이면 삭제돼요.indigovioletrosecoralamberlimegreentealskyslatesandnight

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"Mara 🌻","about":"Gardening in the city.","avatar":"8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9"}' \
  "https://api.tellmelo.com/v2/me/profile"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403429

GET/v2/me/emojis

내 커스텀 이모지.

  • 권한 read
  • ETag 포함
  • v2.19부터

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/emojis"

응답

OwnEmoji의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "name": "sunflower",
      "url": "/api/media?id=8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
      "animated": false,
      "resting": false
    }
  ],
  "next": null
}

가능한 상태: 200304401429

POST/v2/me/emojis/pictures

커스텀 이모지 이미지를 바이트로 업로드하기.

  • 권한 profile
  • v2.19부터

움직이는 이모지에는 플랜이 필요해요. 변환 후 너무 크면 이미지가 거부돼요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/octet-stream" \
  --data-binary @picture.png \
  "https://api.tellmelo.com/v2/me/emojis/pictures"

응답

EmojiPicture 하나로 응답해요.

예시
{
  "id": "8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
  "url": "/api/media?id=8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
  "animated": false
}

가능한 상태: 200401403429

POST/v2/me/emojis

커스텀 이모지 만들기. 내 모든 이모지로 응답해요.

  • 권한 profile
  • v2.19부터

만들 수 있는 이모지 수는 플랜에 따라 달라요.

매개변수

이름유형의미
name본문string필수이모지를 :name:으로 쓸 때의 이름.
picture본문string필수POST /me/emojis/pictures에서 받은 id.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"sunflower","picture":"8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9"}' \
  "https://api.tellmelo.com/v2/me/emojis"

응답

OwnEmoji의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "name": "sunflower",
      "url": "/api/media?id=8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
      "animated": false,
      "resting": false
    }
  ],
  "next": null
}

가능한 상태: 200400401403429

DELETE/v2/me/emojis/{name}

커스텀 이모지 삭제하기. 나머지 이모지로 응답해요.

  • 권한 profile
  • v2.19부터

매개변수

이름유형의미
name경로string필수콜론 없는 이모지 이름.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/emojis/sunflower"

응답

OwnEmoji의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "name": "sunflower",
      "url": "/api/media?id=8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
      "animated": false,
      "resting": false
    }
  ],
  "next": null
}

가능한 상태: 200400401403404429

PUT/v2/me/emojis/sharing

내 팔로워가 자신의 글에서 내 이모지를 쓸 수 있는지 설정하기.

  • 권한 profile
  • v2.19부터

매개변수

이름유형의미
shared본문boolean필수true는 내 이모지를 팔로워와 공유하고, false는 공유하지 않아요.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"shared":true}' \
  "https://api.tellmelo.com/v2/me/emojis/sharing"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403429

GET/v2/me/webhooks

내 웹훅과 각 상태.

  • 권한 webhooks
  • ETag 포함
  • v2.19부터

webhooks 권한이 필요해요. 웹훅은 단체 플랜이나 파트너에게 제공돼요.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/webhooks"

응답

Webhook의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "1f2e3d4c-5b6a-4798-8a7b-6c5d4e3f2a1b",
      "url": "https://example.org/tellmelo-hook",
      "kinds": [
        "reply",
        "mention"
      ],
      "active": true,
      "lastStatus": 200,
      "lastAt": 1758624000000,
      "failures": 0
    }
  ],
  "next": null
}

가능한 상태: 200304401403429

POST/v2/me/webhooks

웹훅 만들기. id와 서명용 시크릿으로 응답해요. 시크릿은 이번 한 번만 보여 줘요.

  • 권한 webhooks
  • v2.19부터

모든 전송은 시크릿으로 서명돼요(X-Tellmelo-Signature). 잘 보관하세요. 다시 보여 주지 않아요.

매개변수

이름유형의미
url본문string필수로컬 네트워크 밖의 HTTPS 주소, 인증 정보 없이.
kinds본문string[]필수웹훅이 알림을 받을 내용. 사용할 수 있는 종류는 플랜과 파트너십에 따라 달라요.replymentiongroup_mentionfollowlikerepostmessagequota_changedquota_giftdrop_claimeddrop_empty

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.org/tellmelo-hook","kinds":["reply","mention"]}' \
  "https://api.tellmelo.com/v2/me/webhooks"

응답

WebhookCreated 하나로 응답해요.

예시
{
  "id": "1f2e3d4c-5b6a-4798-8a7b-6c5d4e3f2a1b",
  "secret": "whsec_3f9a…"
}

가능한 상태: 200400401403429

DELETE/v2/me/webhooks/{id}

웹훅 삭제하기.

  • 권한 webhooks
  • v2.19부터

매개변수

이름유형의미
id경로string필수웹훅의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/webhooks/1f2e3d4c-5b6a-4798-8a7b-6c5d4e3f2a1b"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

POST/v2/me/webhooks/{id}/test

웹훅에 테스트 보내기.

  • 권한 webhooks
  • v2.19부터

매개변수

이름유형의미
id경로string필수웹훅의 id.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/webhooks/1f2e3d4c-5b6a-4798-8a7b-6c5d4e3f2a1b/test"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

PUT/v2/me/username

내 @이름 변경하기. 비밀번호가 필요하며, 두 번 변경 사이의 대기 시간은 앱과 같아요.

  • 권한 profile
  • v2.21부터

매우 중요한 단계는 password에 계정 비밀번호가 필요해요. 2단계 로그인이 켜져 있으면 키로는 두 번째 인증을 할 수 없어서, 이 단계는 앱에서만 가능해요(second_factor_on). 틀린 비밀번호는 다른 곳과 똑같은 제한에 포함돼요.

매개변수

이름유형의미
username본문string필수새 @이름: 영문자, 숫자, 밑줄, 최대 25자.
password본문string필수매우 중요한 작업에 필요한 내 계정 비밀번호. 2단계 인증이 켜져 있으면 이런 작업은 앱에서만 할 수 있어요.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"username":"mara_gardens","password":"the account’s password"}' \
  "https://api.tellmelo.com/v2/me/username"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403429

GET/v2/me/settings

내 설정과 각 값. 설정하지 않은 항목은 기본값.

  • 권한 read
  • ETag 포함
  • v2.21부터

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/settings"

응답

Settings 하나로 응답해요.

예시
{
  "settings": {
    "chatCompact": true
  }
}

가능한 상태: 200304401429

PUT/v2/me/settings

설정 변경하기. 빠진 항목은 그대로 유지돼요. 변경된 설정으로 응답해요.

  • 권한 write
  • v2.21부터

로그인 방식(phoneApproval, nearbySignIn)은 password에 비밀번호를 넣어야만 바꿀 수 있어요.

매개변수

이름유형의미
settings본문object필수변경할 설정, GET /me/settings에 나온 이름으로.
password본문string선택매우 중요한 작업에 필요한 내 계정 비밀번호. 2단계 인증이 켜져 있으면 이런 작업은 앱에서만 할 수 있어요.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"settings":{"chatCompact":true},"password":"the account’s password"}' \
  "https://api.tellmelo.com/v2/me/settings"

응답

Settings 하나로 응답해요.

예시
{
  "settings": {
    "chatCompact": true
  }
}

가능한 상태: 200400401403429

알림

내 계정 주변에서 일어난 일, 페이지별로.

GET/v2/notifications

내 알림, 최신순.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.0부터

읽기만으로는 읽음 표시가 되지 않아요. POST /notifications/read로 해요. 같은 게시물에 대한 같은 종류의 이벤트는 한 줄로 묶이며, more에 개수가 나와요.

매개변수

이름유형의미
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/notifications?limit=20"

응답

Notification의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "3f2e1d0c-9b8a-4765-8432-10fedcba9876",
      "kind": "like",
      "text": null,
      "actor": {
        "handle": "jon",
        "name": "Jon"
      },
      "postId": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
      "read": false,
      "more": 2,
      "createdAt": 1758624300000,
      "updatedAt": 1758624900000
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304401429

POST/v2/notifications/read

내 알림을 읽음으로 표시하기.

  • 권한 write
  • v2.0부터

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/notifications/read"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200401403429

메시지

내 받은편지함과 대화. 대화의 이름은 상대 계정이에요.

GET/v2/conversations

내 받은편지함: 대화당 한 줄, 최근 대화순.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.0부터

매개변수

이름유형의미
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/conversations?limit=20"

응답

Conversation의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "with": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
      "handle": "jon",
      "name": "Jon",
      "excerpt": "See you on Saturday at the market!",
      "truncated": false,
      "fromMe": true,
      "lastMessageId": "7c6b5a49-3827-4165-9f0e-d1c2b3a49586",
      "unread": 0,
      "updatedAt": 1758624060000
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304401429

GET/v2/conversations/{with}/messages

한 대화의 메시지, 최신순.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.0부터

읽기만으로는 읽음 표시가 되지 않아요. POST /conversations/{with}/read로 해요.

매개변수

이름유형의미
with경로string필수상대 계정의 id. 대화에는 별도의 id가 없어요.
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/conversations/a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05/messages?limit=20"

응답

Message의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "7c6b5a49-3827-4165-9f0e-d1c2b3a49586",
      "text": "See you on Saturday at the market!",
      "from": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
      "to": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
      "read": true,
      "media": [],
      "replyTo": null,
      "reactions": [],
      "createdAt": 1758624060000
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304400401404429

POST/v2/conversations/{with}/messages

대화에서 메시지 보내기.

  • 권한 write
  • v2.0부터

앱의 규칙이 적용돼요: 나를 차단한 사람에게는 보낼 수 없고, 상대방의 설정도 적용돼요.

API로는 메시지에 이미지, GIF, 동영상을 첨부할 수 없어요. 앱에서만 가능해요.

매개변수

이름유형의미
with경로string필수상대 계정의 id. 대화에는 별도의 id가 없어요.
text본문string필수게시물, 답글 또는 메시지의 텍스트.
replyTo본문string선택이 메시지가 답장하는, 같은 대화의 이전 메시지 id. 2.2부터.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"text":"See you on Saturday at the market!"}' \
  "https://api.tellmelo.com/v2/conversations/a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05/messages"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

POST/v2/conversations/{with}/read

대화의 모든 메시지를 읽음으로 표시하기.

  • 권한 write
  • v2.1부터

매개변수

이름유형의미
with경로string필수상대 계정의 id. 대화에는 별도의 id가 없어요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/conversations/a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05/read"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

DELETE/v2/conversations/{with}/messages/{id}

내 메시지 삭제하기.

  • 권한 write
  • v2.12부터

내 메시지만, 보낸 후 24시간 안에만 가능해요.

매개변수

이름유형의미
with경로string필수상대 계정의 id. 대화에는 별도의 id가 없어요.
id경로string필수메시지의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/conversations/a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05/messages/7c6b5a49-3827-4165-9f0e-d1c2b3a49586"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

PUT/v2/conversations/{with}/messages/{id}/reactions/{emoji}

다이렉트 메시지에 이모지로 반응하기.

  • 권한 write
  • v2.22부터

이모지마다 계정당 한 번, 메시지 하나에 서로 다른 이모지 최대 20개. 커스텀 이모지는 내 계정이 그것을 쓸 수 있을 때만 가능해요. 그룹에서는 react 권한이 필요하고, 봉인된 메시지에는 반응할 수 없어요. 응답에는 메시지의 모든 반응이 담겨요.

매개변수

이름유형의미
with경로string필수상대 계정의 id. 대화에는 별도의 id가 없어요.
id경로string필수메시지의 id.
emoji경로string필수경로에 인코딩한 이모지: 기본 이모지(🌻는 %F0%9F%8C%BB) 또는 :name: 형태의 커스텀 이모지.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/conversations/a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05/messages/7c6b5a49-3827-4165-9f0e-d1c2b3a49586/reactions/🌻"

응답

Reaction의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "emoji": "🌻",
      "count": 3,
      "mine": true
    }
  ],
  "next": null
}

가능한 상태: 200400401403404429

DELETE/v2/conversations/{with}/messages/{id}/reactions/{emoji}

다이렉트 메시지에 남긴 내 반응 취소하기.

  • 권한 write
  • v2.22부터

이모지마다 계정당 한 번, 메시지 하나에 서로 다른 이모지 최대 20개. 커스텀 이모지는 내 계정이 그것을 쓸 수 있을 때만 가능해요. 그룹에서는 react 권한이 필요하고, 봉인된 메시지에는 반응할 수 없어요. 응답에는 메시지의 모든 반응이 담겨요.

매개변수

이름유형의미
with경로string필수상대 계정의 id. 대화에는 별도의 id가 없어요.
id경로string필수메시지의 id.
emoji경로string필수경로에 인코딩한 이모지: 기본 이모지(🌻는 %F0%9F%8C%BB) 또는 :name: 형태의 커스텀 이모지.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/conversations/a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05/messages/7c6b5a49-3827-4165-9f0e-d1c2b3a49586/reactions/🌻"

응답

Reaction의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "emoji": "🌻",
      "count": 3,
      "mine": true
    }
  ],
  "next": null
}

가능한 상태: 200400401403404429

POST/v2/conversations/{with}/planned

메시지를 나중으로 예약하기. 예약된 메시지의 id로 응답해요.

  • 권한 write
  • v2.19부터

예약 메시지가 포함된 플랜이 필요하고, 없으면 403이 와요. 양쪽 모두 종단 간 암호화를 쓰면 앱에서만 가능해요.

매개변수

이름유형의미
with경로string필수상대 계정의 id. 대화에는 별도의 id가 없어요.
text본문string필수게시물, 답글 또는 메시지의 텍스트.
sendAt본문integer필수메시지를 보낼 시각, 1970년부터의 밀리초.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"text":"Happy birthday! 🎂","sendAt":1758700000000}' \
  "https://api.tellmelo.com/v2/conversations/a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05/planned"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403404429

GET/v2/me/planned-messages

아직 보내지 않은 내 메시지, 시간순.

  • 권한 read
  • ETag 포함
  • v2.19부터

매개변수

이름유형의미
with쿼리string선택이 계정(id)에게 보낸 메시지만.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/planned-messages"

응답

PlannedMessage의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "3b2a1c0d-9e8f-4a7b-b6c5-d4e3f2a1b0c9",
      "to": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
      "text": "Happy birthday! 🎂",
      "sendAt": 1758710400000,
      "state": "waiting"
    }
  ],
  "next": null
}

가능한 상태: 200304401429

POST/v2/me/planned-messages/{id}/send

보류됐거나 실패한 예약 메시지를 지금 보내기.

  • 권한 write
  • v2.19부터

매개변수

이름유형의미
id경로string필수예약한 메시지의 id.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/planned-messages/3b2a1c0d-9e8f-4a7b-b6c5-d4e3f2a1b0c9/send"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

DELETE/v2/me/planned-messages/{id}

예약 메시지를 보내기 전에 삭제하기.

  • 권한 write
  • v2.19부터

매개변수

이름유형의미
id경로string필수예약한 메시지의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/planned-messages/3b2a1c0d-9e8f-4a7b-b6c5-d4e3f2a1b0c9"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

관계

좋아요, 저장, 리포스트, 팔로우, 가입, 차단: 하나의 경로로, active로 설정하고 해제해요. 2.19부터는 목록도 있어요: 팔로워, 팔로잉, 내가 차단하고 음소거한 계정.

POST/v2/relations

kind에 따라 좋아요, 저장, 리포스트, 팔로우, 가입, 차단, 음소거.

  • 권한 write
  • v2.0부터

target은 like, save, repost일 때 게시물, join일 때 그룹, follow, block, mute일 때 계정이에요. active: false는 관계를 해제해요.

매개변수

이름유형의미
kind본문string필수관계 유형: like, save, repost, follow, join, block 또는 mute(2.2부터).likesaverepostfollowjoinblockmute
target본문string필수kind에 따라 게시물, 프로필 또는 그룹의 id.
active본문boolean선택true는 관계를 설정하고, false는 해제해요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"kind":"like","target":"5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1","active":true}' \
  "https://api.tellmelo.com/v2/relations"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403429

GET/v2/profiles/{handle}/followers

프로필을 팔로우하는 사람, 최신순.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.19부터

매개변수

이름유형의미
handle경로string필수프로필의 핸들, 대소문자 구분 없음.
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/profiles/mara/followers?limit=20"

응답

ProfileBrief의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
      "handle": "mara",
      "name": "Mara 🌻",
      "verified": true,
      "accountKind": "person"
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304400401404429

GET/v2/profiles/{handle}/following

프로필이 팔로우하는 사람, 최신순.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.19부터

매개변수

이름유형의미
handle경로string필수프로필의 핸들, 대소문자 구분 없음.
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/profiles/mara/following?limit=20"

응답

ProfileBrief의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
      "handle": "mara",
      "name": "Mara 🌻",
      "verified": true,
      "accountKind": "person"
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304400401404429

GET/v2/me/relations

내가 차단, 음소거 또는 메시지만 차단한 계정, 최신순.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.19부터

내 목록만 나와요. 설정과 해제는 POST /relations로 해요.

매개변수

이름유형의미
kind쿼리string필수block은 차단, mute는 음소거, dm_block은 메시지만 차단.blockmutedm_block
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/relations?kind=mute&limit=20"

응답

ProfileBrief의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
      "handle": "mara",
      "name": "Mara 🌻",
      "verified": true,
      "accountKind": "person"
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304400401429

컬렉션

저장한 게시물을 내 컬렉션으로 정리하세요. 게시물 하나가 여러 컬렉션에 있을 수 있으며, 컬렉션에서 빼도 저장은 유지돼요.

GET/v2/me/collections

내 컬렉션과 각 컬렉션의 게시물 수.

  • 권한 read
  • ETag 포함
  • v2.19부터

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/collections"

응답

Collection의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "6d5c4b3a-2918-4e7f-a1b2-c3d4e5f60718",
      "name": "Recipes",
      "count": 12
    }
  ],
  "next": null
}

가능한 상태: 200304401429

POST/v2/me/collections

컬렉션 만들기. 컬렉션의 id로 응답해요.

  • 권한 write
  • v2.19부터

컬렉션을 몇 개 만들 수 있는지는 플랜에 따라 달라요.

매개변수

이름유형의미
name본문string필수이름, 최대 40자. 계정마다 고유하며 대소문자는 구분하지 않아요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"Recipes"}' \
  "https://api.tellmelo.com/v2/me/collections"

응답

Made 하나로 응답해요.

예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

가능한 상태: 200400401403429

PUT/v2/me/collections/{id}

컬렉션 이름 바꾸기.

  • 권한 write
  • v2.19부터

매개변수

이름유형의미
id경로string필수컬렉션의 id.
name본문string필수이름, 최대 40자. 계정마다 고유하며 대소문자는 구분하지 않아요.

요청 예시

curl -X PUT \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"Baking"}' \
  "https://api.tellmelo.com/v2/me/collections/6d5c4b3a-2918-4e7f-a1b2-c3d4e5f60718"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

DELETE/v2/me/collections/{id}

컬렉션 삭제하기.

  • 권한 write
  • v2.19부터

안에 있던 게시물은 저장된 상태로 남아요.

매개변수

이름유형의미
id경로string필수컬렉션의 id.

요청 예시

curl -X DELETE \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/collections/6d5c4b3a-2918-4e7f-a1b2-c3d4e5f60718"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

GET/v2/me/collections/{id}/posts

“저장됨” 탭에서처럼 보는 컬렉션의 게시물.

  • 권한 read
  • 페이지 가능
  • v2.19부터

응답에 나오는 게시물은 앱에서처럼 모두 내 계정의 노출로 집계돼요. 게시물마다 하루 한 번이며, 내 게시물은 집계되지 않아요.

매개변수

이름유형의미
id경로string필수컬렉션의 id.
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/me/collections/6d5c4b3a-2918-4e7f-a1b2-c3d4e5f60718/posts?limit=20"

응답

Post의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
      "text": "The bees are back in the garden 🐝 #garden",
      "kind": "poll",
      "author": {
        "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
        "handle": "mara",
        "name": "Mara 🌻",
        "verified": true,
        "accountKind": "person"
      },
      "community": {
        "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
        "name": "Urban Gardening"
      },
      "media": [
        {
          "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
          "kind": "image",
          "poster": null,
          "ai": "without"
        }
      ],
      "poll": {
        "options": [
          {
            "text": "Lavender",
            "votes": 12
          },
          {
            "text": "Sunflowers",
            "votes": 7
          },
          {
            "text": "Clover",
            "votes": 3
          }
        ],
        "total": 22,
        "multiple": false,
        "endsAt": null,
        "running": true,
        "resultsVisible": true,
        "myVotes": [
          0
        ]
      },
      "quotes": null,
      "continues": null,
      "counts": {
        "replies": 4,
        "likes": 31,
        "reposts": 2
      },
      "pinned": false,
      "giftDrop": {
        "item": "plan",
        "quantity": 3,
        "places": 10,
        "left": 4,
        "audience": "followers",
        "newAccounts": false,
        "status": "open",
        "claimed": true
      },
      "createdAt": 1758624000000
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200400401404429

POST/v2/me/collections/{id}/posts

게시물을 컬렉션에 넣거나 빼기.

  • 권한 write
  • v2.19부터

넣으면 게시물도 저장돼요. 보이는 게시물만 가능해요.

매개변수

이름유형의미
id경로string필수컬렉션의 id.
post본문string필수게시물의 id.
inside본문boolean선택true는 게시물을 넣고(기본값), false는 빼요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"post":"5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1","inside":true}' \
  "https://api.tellmelo.com/v2/me/collections/6d5c4b3a-2918-4e7f-a1b2-c3d4e5f60718/posts"

응답

Ok 하나로 응답해요.

예시
{
  "ok": true
}

가능한 상태: 200400401403404429

선물

파트너의 할당량을 확인하고 거기서 선물하기, 게시물 아래에 선물을 두고 지켜보기. 받기는 앱 안의 사람만 할 수 있어요.

GET/v2/partner/quota

선물할 수 있는 할당량이 얼마나 남았는지.

  • 권한 read
  • ETag 포함
  • v2.12부터

할당량이 있는 파트너만 가능해요. 그 외에는 403을 받아요.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/partner/quota"

응답

Quota 하나로 응답해요.

예시
{
  "months": 120,
  "sparks": 500,
  "looks": [
    {
      "id": "frame-gold",
      "name": "Goldring",
      "kind": "frame",
      "quantity": 25
    }
  ]
}

가능한 상태: 200304401429

GET/v2/partner/gifts

할당량에서 무엇을 누구에게 언제 선물했는지, 최신순.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.12부터

할당량이 있는 파트너만 가능해요. 그 외에는 403을 받아요.

매개변수

이름유형의미
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/partner/gifts?limit=20"

응답

QuotaGift의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "item": "plan",
      "quantity": 3,
      "itemId": null,
      "recipient": {
        "handle": "jon",
        "name": "Jon"
      },
      "createdAt": 1758627600000
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304401429

POST/v2/partner/gifts

할당량에서 플랜 개월 수나 스파크를 멤버에게 선물하기.

  • 권한 gifts
  • v2.12부터

할당량이 있는 파트너만 가능해요. 그 외에는 403을 받아요.

앱에서처럼 멤버는 누가 선물을 보냈는지 알 수 있어요. 시간당 최대 60개.

매개변수

이름유형의미
handle본문string필수선물받을 멤버의 @이름, @는 있어도 없어도 돼요.
item본문string필수plan은 플랜 개월 수, sparks는 스파크, shop은 내 재고의 룩(2.13부터).plansparksshop
quantity본문integer선택수량: 선물당 최대 12개월 또는 스파크 35개.
itemId본문string선택shop일 때: 할당량의 looks에 나온 룩의 ID. 선물당 하나이며, 이때 quantity는 적용되지 않아요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"handle":"jon","item":"plan","quantity":3,"itemId":"frame-gold"}' \
  "https://api.tellmelo.com/v2/partner/gifts"

응답

Quota 하나로 응답해요.

예시
{
  "months": 120,
  "sparks": 500,
  "looks": [
    {
      "id": "frame-gold",
      "name": "Goldring",
      "kind": "frame",
      "quantity": 25
    }
  ]
}

가능한 상태: 200400401403429

GET/v2/gift-drops

게시물 아래의 내 선물: 남은 자리 수와 결제 방식.

  • 권한 read
  • 페이지 가능
  • ETag 포함
  • v2.12부터

매개변수

이름유형의미
limit쿼리integer선택페이지당 항목 수: 기본 20, 최대 50.
cursor쿼리string선택이전 응답의 next. 없으면 처음부터.

요청 예시

curl \
  -H "Authorization: Bearer tm_key_…" \
  "https://api.tellmelo.com/v2/gift-drops?limit=20"

응답

OwnGiftDrop의 한 페이지로 응답해요. `items`와 `next` 형태예요.

예시
{
  "items": [
    {
      "item": "plan",
      "quantity": 3,
      "places": 10,
      "left": 4,
      "audience": "followers",
      "newAccounts": false,
      "status": "open",
      "claimed": false,
      "postId": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
      "funding": "quota",
      "createdAt": 1758624000000
    }
  ],
  "next": "MTc1ODYyNDAwMDAwMDo1ZjBjMmE5ZS04ZDQx"
}

가능한 상태: 200304401429

POST/v2/gift-drops

다른 사람이 받아 갈 수 있는 선물이 담긴 게시물 올리기.

  • 권한 gifts
  • v2.12부터

소유자와 해당 권한이 있는 팀원은 무료이고, 그 외에는 내 할당량에서 차감돼요. 결제가 필요한 경우 API는 422로 거절해요. 결제는 앱에서만 가능해요.

어떤 프로그램도 자리를 모두 가져가지 못하도록 받기는 앱에서만 가능해요. 남은 자리 수는 게시물의 giftDrop에 있어요.

매개변수

이름유형의미
text본문string선택게시물, 답글 또는 메시지의 텍스트.
community본문string선택게시물이 올라갈 피드 채널이 있는 그룹의 id. 피드 채널이 켜져 있어야 하고, 해당 권한이 필요해요. 없으면 게시물은 어떤 그룹에도 속하지 않아요.
item본문string필수plan은 플랜 개월 수, sparks는 스파크.plansparks
quantity본문integer필수자리 하나에 담기는 것: 최대 12개월 또는 스파크 35개.
places본문integer필수인원 수, 최대 10,000명.
audience본문string선택받을 수 있는 사람: all은 모두, followers는 내 팔로워만, group은 그룹 멤버만(community와 함께일 때만).allfollowersgroup
newAccounts본문boolean선택true이면 가입 7일 미만 계정도 받을 수 있어요. 지정하지 않으면 제외돼요.

요청 예시

curl -X POST \
  -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"text":"Ten times three months of Supporter – first come, first served! 🎁","item":"plan","quantity":3,"places":10,"audience":"all","newAccounts":false}' \
  "https://api.tellmelo.com/v2/gift-drops"

응답

DropCreated 하나로 응답해요.

예시
{
  "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
  "funding": "quota"
}

가능한 상태: 200400401403429

객체

모든 객체를 필드별로. []는 목록이라는 뜻이에요.

Service

루트의 응답: 누가 응답하는지, 이 키로 무엇을 할 수 있는지.

필드유형의미
namestring항상 tellmelo.
versionstringAPI 버전, 예: 2.1.
scopestring이 키로 할 수 있는 것: read 또는 read write.
rateLimitRateLimit이 키의 할당량.
docsstring이 문서의 위치, 이 인스턴스의 경로로.
specstring기계가 읽을 수 있는 설명의 위치.
예시
{
  "name": "tellmelo",
  "version": "2.28",
  "scope": "read write",
  "rateLimit": {
    "limit": 120,
    "remaining": 117
  },
  "docs": "/developers/docs",
  "spec": "/api/v2/openapi.json"
}

RateLimit

현재 분에 이 키가 쓸 수 있는 할당량.

필드유형의미
limitinteger분당 요청 수.
remaininginteger이번 분에 남은 요청 수.
예시
{
  "limit": 120,
  "remaining": 117
}

Post

어디서나 같은 형태의 게시물.

필드유형의미
idstring게시물의 ID.
textstring또는 null작성된 그대로의 텍스트(투표나 이미지만 있는 게시물이면 null).
kindstring게시물의 종류.
  • post — 텍스트, 이미지 또는 인용이 있는 게시물.
  • poll — 투표가 있는 게시물.
authorProfileBrief작성자.
communityCommunityBrief또는 null게시물이 작성된 그룹(그룹 밖이면 null).
mediaMedia[]게시물의 이미지, 순서대로. 없으면 비어 있어요.
pollPoll또는 null투표(없으면 null).
quotesstring또는 null이 게시물이 인용하는 게시물의 ID.
continuesstring또는 null이 게시물이 추가 글로 이어 가는 게시물의 ID.
countsCounts답글, 좋아요, 리포스트.
pinnedboolean작성자 프로필 상단에 고정됐는지 여부.
giftDropGiftDrop또는 null게시물 아래에서 받을 수 있는 선물(없으면 null).
createdAtinteger작성된 시각.
예시
{
  "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
  "text": "The bees are back in the garden 🐝 #garden",
  "kind": "poll",
  "author": {
    "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
    "handle": "mara",
    "name": "Mara 🌻",
    "verified": true,
    "accountKind": "person"
  },
  "community": {
    "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
    "name": "Urban Gardening"
  },
  "media": [
    {
      "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
      "kind": "image",
      "poster": null,
      "ai": "without"
    }
  ],
  "poll": {
    "options": [
      {
        "text": "Lavender",
        "votes": 12
      },
      {
        "text": "Sunflowers",
        "votes": 7
      },
      {
        "text": "Clover",
        "votes": 3
      }
    ],
    "total": 22,
    "multiple": false,
    "endsAt": null,
    "running": true,
    "resultsVisible": true,
    "myVotes": [
      0
    ]
  },
  "quotes": null,
  "continues": null,
  "counts": {
    "replies": 4,
    "likes": 31,
    "reposts": 2
  },
  "pinned": false,
  "giftDrop": {
    "item": "plan",
    "quantity": 3,
    "places": 10,
    "left": 4,
    "audience": "followers",
    "newAccounts": false,
    "status": "open",
    "claimed": true
  },
  "createdAt": 1758624000000
}

Reply

게시물 아래의 답글: 필드가 두 개 더 있는 게시물.

Post의 모든 필드, 그리고 추가로:

필드유형의미
postIdstring전체 대화가 달린 게시물.
parentIdstring또는 null이 답글이 답하는 답글(게시물에 바로 단 답글이면 null).
예시
{
  "id": "9e4b1c7d-2a3f-4d5e-8b6c-0f1e2d3c4b5a",
  "text": "Same here, the lavender is full of them.",
  "kind": "post",
  "author": {
    "id": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
    "handle": "jon",
    "name": "Jon",
    "verified": false,
    "accountKind": "person"
  },
  "community": null,
  "media": [],
  "poll": null,
  "quotes": null,
  "continues": null,
  "counts": {
    "replies": 0,
    "likes": 3,
    "reposts": 0
  },
  "pinned": false,
  "giftDrop": null,
  "createdAt": 1758624600000,
  "postId": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
  "parentId": null
}

ReplyVote

답글에 대한 내 투표와 그 점수.

필드유형의미
votestring내 투표.
  • up — 추천함.
  • down — 비추천함.
  • none — 투표 안 함.
scoreinteger추천 수에서 비추천 수를 뺀 값. 0 아래로도 내려가요.
예시
{
  "vote": "up",
  "score": 12
}

PlannedReply

나중으로 예약한 내 답글.

필드유형의미
idstring예약 답글의 id.
parentIdstring또는 null이 답글이 달릴 답글(게시물에 바로 다는 답글이면 null).
textstring텍스트.
publishAtinteger게시되는 시점.
statestring상태.
  • waiting — 예약 시간을 기다리는 중.
  • failed — 보낼 수 없었어요. 예를 들어 게시물이 사라졌을 때요.
예시
{
  "id": "3b2a1c0d-9e8f-4a7b-b6c5-d4e3f2a1b0c9",
  "parentId": null,
  "text": "Count me in for Saturday!",
  "publishAt": 1758710400000,
  "state": "waiting"
}

ReplySettings

내 게시물의 답글 설정.

필드유형의미
audiencestring답글을 달 수 있는 사람.
  • all — 모두.
  • following — 내가 팔로우하는 계정.
  • mentioned — 게시물에서 멘션된 사람.
  • nobody — 나 말고는 아무도 없음.
approvalboolean답글이 내 승인을 기다리는지 여부.
slowstring슬로우 모드.
  • auto — 답글이 많아지면 자동으로 켜져요.
  • on — 항상 켬.
  • off — 끔.
예시
{
  "audience": "following",
  "approval": false,
  "slow": "auto"
}

Counts

게시물의 답글, 좋아요, 리포스트 수.

필드유형의미
repliesinteger모든 단계를 합친 답글 수.
likesinteger좋아요.
repostsinteger리포스트.
예시
{
  "replies": 4,
  "likes": 31,
  "reposts": 2
}

Media

게시물이나 메시지의 이미지.

필드유형의미
urlstring이 인스턴스 기준의 이미지나 동영상 상대 주소. 헤더에 키를 넣어 불러오세요.
kindstringimage, video 또는 gif(2.10부터). 동영상과 GIF는 MP4 파일이에요.
  • image — 이미지(WebP 또는 JPEG).
  • video — 소리가 있는 MP4 동영상.
  • gif — 소리 없이 반복되는 MP4로 된 GIF.
posterstring또는 null동영상과 GIF는 미리보기 이미지 주소, 그 외에는 null(2.10부터).
aistring또는 null업로드한 사람이 밝혔거나 신고 후 팀이 표시한 대로, 이미지가 AI로 만들어졌는지 여부. 표시가 없으면 null(2.11부터).
  • with — AI로 만들었어요.
  • without — AI 없이 만들었어요.
예시
{
  "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
  "kind": "image",
  "poster": null,
  "ai": "without"
}

Poll

게시물의 투표.

필드유형의미
optionsPollOption[]선택지, 순서대로. 투표할 때 option은 0부터 세요.
totalinteger전체 투표 수, 항상 있어요.
multipleboolean여러 개를 선택할 수 있는지 여부.
endsAtinteger또는 null투표가 끝나는 시각(종료 없이 진행되면 null).
runningboolean아직 투표할 수 있는지 여부.
resultsVisibleboolean선택지별 득표 수가 보이는지 여부(votes 참고).
myVotesinteger[]내가 고른 선택지, 0부터.
예시
{
  "options": [
    {
      "text": "Lavender",
      "votes": 12
    },
    {
      "text": "Sunflowers",
      "votes": 7
    },
    {
      "text": "Clover",
      "votes": 3
    }
  ],
  "total": 22,
  "multiple": false,
  "endsAt": null,
  "running": true,
  "resultsVisible": true,
  "myVotes": [
    0
  ]
}

PollOption

투표의 선택지 하나.

필드유형의미
textstring선택지.
votesinteger또는 null득표 수(결과가 공개되지 않는 동안 null).
예시
{
  "text": "Lavender",
  "votes": 12
}

ProfileBrief

다른 객체 안에 나오는 프로필: 작성자로, 검색 결과로.

필드유형의미
idstring계정의 ID: /relations와 /conversations/{with}에 필요한 값.
handlestring@ 없는 핸들, 멤버가 정한 그대로.
namestring표시 이름. :name:을 포함한 이모지가 들어갈 수 있어요.
verifiedboolean계정이 인증됐는지 여부.
accountKindstring계정 종류.
  • person — 개인.
  • business — 기업.
  • association — 단체.
  • automated — 봇 같은 자동화 계정.
  • bot — 자체 키를 가진 프로그램이 운영하는 그룹의 봇(2.18부터).
예시
{
  "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
  "handle": "mara",
  "name": "Mara 🌻",
  "verified": true,
  "accountKind": "person"
}

Profile

소개와 팔로워가 포함된 단독 프로필.

ProfileBrief의 모든 필드, 그리고 추가로:

필드유형의미
aboutstring또는 null소개(없으면 null).
websitestring또는 null프로필의 웹사이트(없으면 null). 2.3부터.
websiteVerifiedboolean웹사이트가 rel=me로 이 프로필에 링크하는지 여부. 매주 확인해요. 2.3부터.
followersinteger이 계정을 팔로우하는 계정 수.
createdAtinteger또는 null계정이 만들어진 시각(멤버가 가입일을 숨기면 null, 2.9부터).
예시
{
  "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
  "handle": "mara",
  "name": "Mara 🌻",
  "verified": true,
  "accountKind": "person",
  "about": "Beekeeper, allotment, too many seeds. :tellmelo:",
  "website": "https://mara-imkerei.example/",
  "websiteVerified": true,
  "followers": 148,
  "createdAt": 1750848000000
}

CommunityBrief

게시물이 작성된 그룹.

필드유형의미
idstring그룹의 ID.
namestring또는 null그룹 이름.
예시
{
  "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
  "name": "Urban Gardening"
}

Community

이 인스턴스의 그룹.

필드유형의미
idstring그룹의 ID.
namestring그룹 이름.
handlestring또는 null@#로 그룹을 멘션할 때 쓰는 핸들. 2.15부터.
descriptionstring또는 null소개(없으면 null).
tagsstring[]그룹이 다루는 주제.
membersinteger멤버 수.
joinPolicystring가입 방법.
  • open — 누구나 가입할 수 있어요.
  • application — 가입하려면 그룹이 승인하는 신청이 필요해요.
  • invite — 초대로만 가입.
visibilitystring그룹을 볼 수 있는 사람. internal과 hidden은 멤버만(2.15부터).
  • open — 모두에게 공개.
  • internal — 목록에는 나오지 않지만 주소로 찾을 수 있어요.
  • hidden — 멤버만 볼 수 있어요.
feedChannelboolean피드 채널이 켜져 있는지 여부. 2.15부터.
sparksinteger그룹이 지금 보유한 스파크 수(2.19부터).
perksstring[]그룹의 스파크로 얻는 혜택(2.19부터).
membershipMembership또는 null그룹에서 내 계정의 지위와 권한. 멤버가 아니면 null. 2.15부터.
예시
{
  "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
  "name": "Urban Gardening",
  "handle": "urbangardening",
  "description": "Balconies, allotments, rooftops: whatever grows.",
  "tags": [
    "garden",
    "bees"
  ],
  "members": 312,
  "joinPolicy": "open",
  "visibility": "open",
  "feedChannel": true,
  "sparks": 24,
  "perks": [
    "tint",
    "welcome"
  ],
  "membership": {
    "leader": null,
    "roles": [
      "4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8"
    ],
    "permissions": [
      "attach",
      "invite",
      "send",
      "view"
    ],
    "mutedUntil": null
  }
}

Membership

그룹에서 내 계정의 지위와 권한.

필드유형의미
leaderstring또는 null내가 그룹을 만들었거나 함께 운영하는지 여부. 아니면 null.
  • founder — 만든 사람.
  • manager — 공동 운영.
rolesstring[]내 역할의 id 목록, 가장 높은 역할부터.
permissionsstring[]그룹에서 내가 할 수 있는 것.
mutedUntilinteger또는 null타임아웃으로 여기서 음소거되는 기한. 없으면 null.
예시
{
  "leader": null,
  "roles": [
    "4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8"
  ],
  "permissions": [
    "attach",
    "invite",
    "send",
    "view"
  ],
  "mutedUntil": null
}

Person

멤버 요약.

필드유형의미
idstring계정의 id.
handlestring@ 없는 사용자 이름.
namestring표시 이름.
botboolean계정이 봇인지 여부(2.18부터).
예시
{
  "id": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
  "handle": "jon",
  "name": "Jon",
  "bot": false
}

Channel

그룹의 채널.

필드유형의미
idstringid.
kindstring채널 종류.
  • feed — 피드 채널. 게시물이 공개 피드에도 올라가요.
  • chat — 채팅.
  • voice — 음성 채널. 말하기는 앱에서만 돼요.
  • hub — 그룹의 허브: 그룹을 소개하는 페이지예요. 항상 있고, 메시지는 없어요.
namestring또는 null# 없는 이름. 앱이 언어별로 정하는 이름이면 null.
topicstring주제. 없으면 비어 있어요.
categoryChannelCategory또는 null카테고리. 없으면 null.
unreadinteger아직 읽지 않은 다른 사람의 메시지 수(최대 100).
permissionsstring[]이 채널에서 내가 할 수 있는 것.
symbolChannelSymbol채널 기호. 그룹이 모양을 정해 두었다면 이미 그 모양이에요.
예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a",
  "kind": "chat",
  "name": "harvest",
  "topic": "What came in this week",
  "category": {
    "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "name": "Garden",
    "symbol": {
      "emoji": null,
      "icon": null,
      "image": null,
      "color": null,
      "shape": null
    }
  },
  "unread": 3,
  "permissions": [
    "view",
    "send",
    "react"
  ],
  "symbol": {
    "emoji": "🌻",
    "icon": null,
    "image": null,
    "color": "amber",
    "shape": "circle"
  }
}

ChannelCategory

채널이 속한 카테고리.

필드유형의미
idstringid.
namestring이름.
symbolChannelSymbol카테고리 기호.
예시
{
  "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
  "name": "Garden",
  "symbol": {
    "emoji": null,
    "icon": null,
    "image": null,
    "color": null,
    "shape": null
  }
}

ChannelSymbol

채널이나 카테고리의 아이콘: 이모지, 기호, 이미지 중 최대 하나, 없으면 종류별 기본 표시.

필드유형의미
emojistring또는 null이모지. 없으면 null.
iconstring또는 null앱 아이콘 세트에 있는 아이콘 이름. 없으면 null.
imagestring또는 null직접 올린 이미지의 주소. 없으면 null.
colorstring또는 null타일 색. 채널 종류의 기본색이면 null.
shapestring또는 null타일 모양. 원이면 null.
예시
{
  "emoji": "🌻",
  "icon": null,
  "image": null,
  "color": "amber",
  "shape": "circle"
}

ChannelMessage

채팅 채널의 메시지.

필드유형의미
idstringid.
textstring또는 null텍스트(이미지나 음성만 있는 메시지는 null).
authorPerson작성한 사람.
mediaMedia[]메시지의 이미지와 음성 메시지. 없으면 비어 있어요.
replyTostring또는 null답장 대상 메시지의 id. 없으면 null.
roleColorstring또는 null색이 있는 작성자의 역할 중 가장 높은 역할의 색. 없으면 null.
threadOfstring또는 null이 메시지가 답글로 달린 스레드의 원래 메시지. 채팅에서는 null.
threadCountinteger이 메시지 스레드의 답글 수.
cardobject또는 null봇의 카드: title, text, color, fields. 그 외에는 null.
buttonsobject[]봇의 버튼: 각각 id, label, style.
cardsobject[]봇의 카드(2.26부터): 각각 title, text, color, url, author, footer, image, thumbnail, timestamp, fields.
rowsobject[]봇의 줄(2.26부터): 각각 버튼(button), 링크(link) 또는 메뉴 하나(select)의 목록.
reactionsReaction[]메시지 아래의 이모지. 2.22부터.
createdAtinteger작성된 시점.
예시
{
  "id": "61a2b3c4-d5e6-4f70-8192-a3b4c5d6e7f8",
  "text": "@jon the first tomatoes are ripe 🍅",
  "author": {
    "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
    "handle": "mara",
    "name": "Mara 🌻",
    "bot": false
  },
  "media": [
    {
      "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
      "kind": "image",
      "poster": null,
      "ai": "without"
    }
  ],
  "replyTo": "72b3c4d5-e6f7-4081-92a3-b4c5d6e7f809",
  "roleColor": "green",
  "threadOf": null,
  "threadCount": 3,
  "card": null,
  "buttons": [],
  "cards": [],
  "rows": [],
  "reactions": [],
  "createdAt": 1758631200000
}

Reaction

메시지에 달린 이모지.

필드유형의미
emojistring이모지: 기본 이모지 또는 :name: 형식의 커스텀 이모지.
countinteger이 이모지로 반응한 수.
mineboolean내 계정이 이 이모지로 반응했는지 여부.
예시
{
  "emoji": "🌻",
  "count": 3,
  "mine": true
}

Role

그룹의 역할.

필드유형의미
idstringid.
namestring또는 null이름. @everyone은 null.
everyoneboolean모든 멤버의 역할인 @everyone인지 여부.
colorstring또는 null색: indigo, violet, rose, amber, green 또는 teal. 없으면 null.
permissionsstring[]역할의 권한.
membersinteger이 역할을 가진 사람 수. @everyone은 모든 멤버.
editableboolean내 계정이 이 역할을 바꿀 수 있는지 여부.
selfableboolean멤버가 직접 역할을 받고 내려놓을 수 있는지 여부.
예시
{
  "id": "4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8",
  "name": "Gardeners",
  "everyone": false,
  "color": "green",
  "permissions": [
    "attach",
    "invite",
    "send",
    "view"
  ],
  "members": 24,
  "editable": true,
  "selfable": false
}

GroupMember

그룹 멤버와 그 역할.

Person의 모든 필드, 그리고 추가로:

필드유형의미
leaderstring또는 null멤버가 그룹을 만들었거나 함께 운영하는지 여부. 아니면 null.
  • founder — 만든 사람.
  • manager — 공동 운영.
rolesstring[]멤버 역할의 id 목록, 가장 높은 역할부터.
mutedUntilinteger또는 null내 계정이 타임아웃을 줄 수 있을 때, 타임아웃으로 멤버가 음소거되는 기한. 그 외에는 null.
예시
{
  "id": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
  "handle": "jon",
  "name": "Jon",
  "bot": false,
  "leader": null,
  "roles": [
    "4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8"
  ],
  "mutedUntil": null
}

ChannelOverride

채널에서 역할이나 개별 멤버가 그룹과 다르게 할 수 있는 것.

필드유형의미
rolestring또는 null역할의 id. 멤버 한 명에 대한 설정이면 null(2.24부터).
memberPerson또는 null적용되는 멤버 한 명. 역할이면 null. 2.24부터.
allowstring[]여기서 추가로 할 수 있는 것.
denystring[]여기서 할 수 없는 것.
예시
{
  "role": "4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8",
  "member": null,
  "allow": [
    "send"
  ],
  "deny": []
}

Bell

그룹의 알림 벨.

필드유형의미
levelstring어떤 알림을 받는지.
  • all — 피드 채널의 모든 새 게시물과 @everyone.
  • important — 피드 채널의 운영진 게시물과 @everyone.
  • off — @name으로 멘션될 때 말고는 없음.
예시
{
  "level": "important"
}

InviteLink

그룹의 초대 링크.

필드유형의미
codestring코드.
urlstring공유할 주소.
createdByPerson또는 null만든 사람. 계정이 삭제됐으면 null.
createdAtinteger만든 시점.
expiresAtinteger또는 null유효 기한. 기한이 없으면 null.
usesinteger사용된 횟수.
maxUsesinteger또는 null사용할 수 있는 횟수. 제한이 없으면 null.
예시
{
  "code": "k7Qm2xPa",
  "url": "https://tellmelo.com/groups?join=k7Qm2xPa",
  "createdBy": {
    "id": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
    "handle": "jon",
    "name": "Jon",
    "bot": false
  },
  "createdAt": 1758624000000,
  "expiresAt": 1759228800000,
  "uses": 3,
  "maxUses": 10
}

InvitePreview

초대 링크가 연결되는 곳.

필드유형의미
communityInviteGroup그룹.
memberboolean내 계정이 이미 멤버인지 여부.
예시
{
  "community": {
    "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
    "name": "Urban Gardening",
    "members": 312,
    "rules": [
      "Be kind.",
      "No advertising."
    ]
  },
  "member": false
}

InviteGroup

초대 링크의 그룹.

필드유형의미
idstringid.
namestring이름.
membersinteger멤버 수.
rulesstring[]가입할 때 동의하는 그룹 규칙. 없으면 비어 있어요.
예시
{
  "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
  "name": "Urban Gardening",
  "members": 312,
  "rules": [
    "Be kind.",
    "No advertising."
  ]
}

Joined

초대 링크로 가입하기.

필드유형의미
communitystring그룹의 id.
예시
{
  "community": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60"
}

LogEntry

운영진 기록의 항목 하나.

필드유형의미
idstringid.
actionstring일어난 일.
  • post_removed — 게시물.
  • member_removed — 멤버 내보내기, 2.16 이전(90일 동안 가입 제한).
  • message_removed — 채팅 채널의 메시지.
  • member_kicked — 추방.
  • member_banned — 차단.
  • member_unbanned — 차단 해제.
  • member_timed_out — 타임아웃.
  • timeout_lifted — 타임아웃 해제.
  • voice_muted — 음성 채널에서 음소거됨.
  • voice_removed — 음성 채널에서 연결 끊김.
  • voice_moved — 다른 음성 채널로 옮겨짐.
  • bot_added — 봇이 그룹에 추가됐어요(2.18부터).
  • bot_removed — 봇이 그룹에서 삭제됐어요(2.18부터).
  • channel_changed — 채널 설정이 바뀌었어요. reason에 바뀐 부분이 나와요(2.24부터).
memberPerson대상이 된 사람.
reasonstring사유. 메시지이거나 사유를 적지 않았으면 비어 있어요.
bystring또는 null실행한 사람의 이름. 계정이 삭제됐으면 null.
channelstring또는 null설정이 바뀐 채널. 그 외에는 null. 2.24부터.
createdAtinteger언제.
예시
{
  "id": "8f7e6d5c-4b3a-4291-8f7e-6d5c4b3a2918",
  "action": "message_removed",
  "member": {
    "id": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
    "handle": "jon",
    "name": "Jon",
    "bot": false
  },
  "reason": "",
  "by": "Mara 🌻",
  "channel": null,
  "createdAt": 1758710400000
}

Ban

그룹에서의 차단.

필드유형의미
memberPerson차단된 사람.
untilinteger또는 null차단 기한. 해제될 때까지면 null.
createdAtinteger또는 null차단된 시점. 2.16 이전의 차단은 null.
bystring또는 null차단한 사람의 이름. 알 수 없으면 null.
예시
{
  "member": {
    "id": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
    "handle": "jon",
    "name": "Jon",
    "bot": false
  },
  "until": 1759228800000,
  "createdAt": 1758624000000,
  "by": "Mara 🌻"
}

Until

타임아웃이나 차단이 끝나는 시각.

필드유형의미
untilinteger또는 null시점. 기한 없는 차단이나 해제된 타임아웃은 null.
예시
{
  "until": 1758624600000
}

Tag

태그와 그 태그가 달린 게시물 수.

필드유형의미
tagstring# 없는 태그.
postsinteger이 태그가 달린 최근 게시물 수.
예시
{
  "tag": "garden",
  "posts": 58
}

SearchResult

목록 세 개, 비어 있을 수 있어요.

필드유형의미
postsPost[]일치하는 게시물, 최신순.
profilesProfileBrief[]일치하는 프로필, 핸들순.
tagsTag[]일치하는 태그, 많이 쓰인 순.
예시
{
  "posts": [
    {
      "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
      "text": "The bees are back in the garden 🐝 #garden",
      "kind": "poll",
      "author": {
        "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
        "handle": "mara",
        "name": "Mara 🌻",
        "verified": true,
        "accountKind": "person"
      },
      "community": {
        "id": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
        "name": "Urban Gardening"
      },
      "media": [
        {
          "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
          "kind": "image",
          "poster": null,
          "ai": "without"
        }
      ],
      "poll": {
        "options": [
          {
            "text": "Lavender",
            "votes": 12
          },
          {
            "text": "Sunflowers",
            "votes": 7
          },
          {
            "text": "Clover",
            "votes": 3
          }
        ],
        "total": 22,
        "multiple": false,
        "endsAt": null,
        "running": true,
        "resultsVisible": true,
        "myVotes": [
          0
        ]
      },
      "quotes": null,
      "continues": null,
      "counts": {
        "replies": 4,
        "likes": 31,
        "reposts": 2
      },
      "pinned": false,
      "giftDrop": {
        "item": "plan",
        "quantity": 3,
        "places": 10,
        "left": 4,
        "audience": "followers",
        "newAccounts": false,
        "status": "open",
        "claimed": true
      },
      "createdAt": 1758624000000
    }
  ],
  "profiles": [
    {
      "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
      "handle": "mara",
      "name": "Mara 🌻",
      "verified": true,
      "accountKind": "person"
    }
  ],
  "tags": [
    {
      "tag": "garden",
      "posts": 58
    }
  ]
}

Emoji

이 인스턴스의 이모지.

필드유형의미
namestring콜론 사이에 들어가는 이름.
urlstring이 인스턴스 기준의 이미지 상대 주소.
예시
{
  "name": "tellmelo",
  "url": "/api/media?id=e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}

Notification

알림. 한 줄에 같은 종류의 이벤트 여러 개가 모일 수 있어요.

필드유형의미
idstring알림의 ID.
kindstring일어난 일.
  • reply — 누군가 나에게 답글을 달았어요.
  • like — 누군가 내 게시물을 좋아해요.
  • reply_like — 누군가 내 답글을 추천했어요.
  • reply_pick — 게시물 작성자가 내 답글을 돋보이게 했어요.
  • repost — 누군가 내 게시물을 공유했어요.
  • follow — 누군가 나를 팔로우해요.
  • mention — 누군가 나를 멘션했어요.
  • group_mention — 누군가 내가 운영하는 그룹을 멘션했어요. text는 그룹 이름이에요.
  • channel_mention — 누군가 내 그룹의 채팅 채널에서 나를 멘션했어요(@everyone 포함). 멤버는 actor이고, 문장에는 채널과 그룹이 나오며 메시지 내용은 나오지 않아요.
  • message — 누군가 나에게 메시지를 보냈어요.
  • scheduled — 내 예약 게시물이 게시됐어요.
  • video — 동영상을 기다리던 내 게시물이 게시됐거나 다시 임시 저장 글이 됐어요.
  • reminder — 저장한 게시물의 리마인더 시간이 되었어요.
  • report — 내가 보낸 신고의 처리 결과.
  • moderation — 내 계정에 대한 결정: 경고, 제한, 이의 제기.
  • team — 팀을 위한 새 업무(소유자, 관리자, 모더레이터만).
  • reward — 초대 보상이 곧 끝나거나 이미 끝났어요.
  • gift — 팀이 보낸 선물: 플랜, 또는 나나 내가 이끄는 그룹을 위한 스파크.
  • present — 멤버가 보낸 선물: 스파크 또는 플랜 기간. 선물한 멤버는 actor예요.
  • spark — 스파크가 곧 만료되거나, 내가 이끄는 그룹의 스파크가 혜택을 유지하기에 부족해요.
  • loyalty — 충성 리듬 관련: 활동한 주가 인정되었거나 하루가 모자라거나, 보상이 새로 생겼거나 곧 사라져요.
  • impact — 처음 12시간 동안 올린 게시물의 하루 뒤 반응을 하나의 알림으로.
  • discovery — 탐색 프로그램 초대, 또는 그 자리가 시작되거나 끝났다는 알림.
  • group_post — 알림 벨이 켜진 그룹의 새 게시물.
  • group_moderation — 그룹 운영진이 내 게시물을 삭제했거나 나를 그룹에서 내보냈어요.
  • group_event — 참여하는 그룹 일정이 시작돼요.
  • group — 멤버가 그룹에서 나와 관련해 한 일: 초대, 수락 또는 거절, 공동 운영자로 지정, 그룹 넘겨주기 또는 해체, 내 그룹에 가입 신청. 멤버는 actor이고, 그룹 이름은 문장 끝에 와요.
  • coauthor — 누군가 나를 게시물의 공동 작성자로 초대했어요.
  • partner — 파트너 프로그램의 리마인더 또는 파트너 배지 종료.
  • news — 팔로우하는 지역의 새 기사.
  • pick — 내 게시물이 이번 주 또는 올해의 게시물 후보에 올랐거나 선정됐어요.
  • advent — 어드벤트 캘린더의 새 칸이 열렸거나, 누군가 칸을 열었거나, 오늘의 칸이 아직 기다리고 있어요.
  • melos — 멤버가 Melos를 모으거나 쓰지 않으면 곧 소멸돼요.
  • team_message — tellmelo 팀이 선택한 멤버에게 보낸 메시지.
  • ads — 기업과 단체용: 의뢰 할인 코드 또는 의뢰 이용 방법 안내.
  • challenge — 이번 주의 새 챌린지가 시작됐어요.
  • nudge — 한 번만: 아직 아무도 답하지 않은 게시물이나 진행 중인 챌린지.
  • signin — 어떤 컴퓨터에서 지금 로그인하는 중인지 묻고 있어요.
textstring또는 null신고와 모더레이션일 때만 관련 텍스트, 그 외에는 null.
actorActor한 사람.
postIdstring또는 null관련 게시물(관련 게시물이 없으면 null).
readboolean읽음으로 표시됐는지 여부.
moreinteger표시된 이벤트 외에 이 줄이 묶고 있는 추가 이벤트 수.
createdAtinteger처음 일어난 시각.
updatedAtinteger마지막으로 이벤트가 추가된 시각. 목록은 이 기준으로 정렬돼요.
예시
{
  "id": "3f2e1d0c-9b8a-4765-8432-10fedcba9876",
  "kind": "like",
  "text": null,
  "actor": {
    "handle": "jon",
    "name": "Jon"
  },
  "postId": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
  "read": false,
  "more": 2,
  "createdAt": 1758624300000,
  "updatedAt": 1758624900000
}

Actor

알림을 발생시킨 사람.

필드유형의미
handlestring핸들.
namestring표시 이름.
예시
{
  "handle": "jon",
  "name": "Jon"
}

Conversation

받은편지함의 한 줄.

필드유형의미
withstring상대 계정의 ID: /conversations/{with}/messages에 필요한 값.
handlestring상대의 핸들.
namestring상대의 표시 이름.
excerptstring또는 null마지막 메시지의 앞부분(텍스트가 없으면 null).
truncatedboolean앞부분이 잘렸는지 여부.
fromMeboolean마지막 메시지를 내가 보냈는지 여부.
lastMessageIdstring마지막 메시지의 ID.
unreadinteger상대 메시지 중 아직 읽지 않은 수.
updatedAtinteger마지막 메시지가 작성된 시각.
예시
{
  "with": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
  "handle": "jon",
  "name": "Jon",
  "excerpt": "See you on Saturday at the market!",
  "truncated": false,
  "fromMe": true,
  "lastMessageId": "7c6b5a49-3827-4165-9f0e-d1c2b3a49586",
  "unread": 0,
  "updatedAt": 1758624060000
}

Message

대화 속 메시지.

필드유형의미
idstring메시지의 ID.
textstring또는 null텍스트(이미지만 있는 메시지면 null).
fromstring메시지를 쓴 계정의 ID.
tostring메시지를 받은 계정의 ID.
readboolean받는 사람이 읽었는지 여부.
mediaMedia[]메시지의 이미지. 없으면 비어 있어요.
replyTostring또는 null이 메시지가 답장하는 메시지의 id(답장이 아니면 null). 2.2부터.
reactionsReaction[]메시지에 달린 이모지. 2.22부터.
createdAtinteger보낸 시각.
예시
{
  "id": "7c6b5a49-3827-4165-9f0e-d1c2b3a49586",
  "text": "See you on Saturday at the market!",
  "from": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
  "to": "d4c3b2a1-6e5f-4a7b-9c8d-1e2f3a4b5c6d",
  "read": true,
  "media": [],
  "replyTo": null,
  "reactions": [],
  "createdAt": 1758624060000
}

PlannedMessage

나중으로 예약한 내 메시지.

필드유형의미
idstring예약 메시지의 id.
tostring메시지를 받을 계정의 id.
textstring또는 null텍스트. 종단 간 암호화를 쓰면 null.
sendAtinteger보내지는 시점.
statestring상태.
  • waiting — 예약 시간을 기다리는 중.
  • held — 플랜이 끝나서 보류됐어요. 직접 보내거나 삭제할 수 있어요.
  • failed — 보낼 수 없었어요.
예시
{
  "id": "3b2a1c0d-9e8f-4a7b-b6c5-d4e3f2a1b0c9",
  "to": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
  "text": "Happy birthday! 🎂",
  "sendAt": 1758710400000,
  "state": "waiting"
}

ScheduledPost

아직 게시되지 않은 내 게시물.

필드유형의미
idstring게시물의 id.
textstring또는 null텍스트.
communityIdstring또는 null게시물이 올라갈 그룹(그룹 밖이면 null).
publishAtinteger또는 null게시되는 시점(다른 것을 기다리는 동안은 null).
deleteAtinteger또는 null자동으로 삭제되는 시점(null: 삭제 안 됨).
waitingForstring무엇을 기다리고 있는지.
  • time — 예약 시간.
  • review — 검토용으로 작성된 텍스트의 승인.
  • check — 자동 모더레이션의 검사.
  • payment — 선물 결제.
createdAtinteger작성된 시점.
예시
{
  "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
  "text": "Market day tomorrow – see you at the bee stand! #garden",
  "communityId": null,
  "publishAt": 1758710400000,
  "deleteAt": null,
  "waitingFor": "time",
  "createdAt": 1758624000000
}

Collection

저장한 게시물의 컬렉션.

필드유형의미
idstring컬렉션의 id.
namestring컬렉션 이름.
countinteger들어 있는 게시물 수.
예시
{
  "id": "6d5c4b3a-2918-4e7f-a1b2-c3d4e5f60718",
  "name": "Recipes",
  "count": 12
}

Event

프로필의 예정된 일정.

필드유형의미
idstring일정의 id.
titlestring제목.
startsAtinteger시작.
endsAtinteger또는 null종료. 종료 시간이 없으면 null.
placestring또는 null장소.
descriptionstring또는 null설명.
signupsEventSignups또는 null참가 신청. 신청을 받지 않으면 null.
예시
{
  "id": "2a3b4c5d-6e7f-4809-9a1b-2c3d4e5f6a7b",
  "title": "Seed swap",
  "startsAt": 1758883200000,
  "endsAt": 1758890400000,
  "place": "Community garden",
  "description": "Bring seeds, take seeds.",
  "signups": {
    "count": 14,
    "going": true
  }
}

EventSignups

참가 신청한 사람 수.

필드유형의미
countinteger참가 신청 수.
goingboolean내가 참가 신청했는지 여부.
예시
{
  "count": 14,
  "going": true
}

EventSignup

내 일정에 참가 신청한 사람.

필드유형의미
idstring계정의 id.
handlestring핸들.
namestring표시 이름.
atinteger신청한 시점.
예시
{
  "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
  "handle": "mara",
  "name": "Mara 🌻",
  "at": 1758624000000
}

Picture

업로드한 이미지.

필드유형의미
idstring이미지의 id.
urlstring이미지를 볼 수 있는 주소.
예시
{
  "id": "8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
  "url": "/api/media?id=8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9"
}

EmojiPicture

업로드한 이모지 이미지.

필드유형의미
idstring이미지의 id.
urlstring이미지를 볼 수 있는 주소.
animatedboolean움직이는지 여부.
예시
{
  "id": "8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
  "url": "/api/media?id=8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
  "animated": false
}

OwnEmoji

내 커스텀 이모지 하나.

필드유형의미
namestring이모지 이름.
urlstring이모지 이미지.
animatedboolean움직이는지 여부.
restingboolean지금 플랜에서 허용하는 이모지 수가 적어서 쉬는 중: 남아 있지만 쓸 수는 없어요.
예시
{
  "name": "sunflower",
  "url": "/api/media?id=8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
  "animated": false,
  "resting": false
}

GroupEmoji

그룹의 이모지.

필드유형의미
namestring이모지 이름.
urlstring이모지 이미지.
animatedboolean움직이는지 여부.
예시
{
  "name": "seedling",
  "url": "/api/media?id=8c7b6a59-4837-4261-9f5e-d4c3b2a1f0e9",
  "animated": false
}

BotEvent

봇의 그룹에서 일어난 이벤트.

필드유형의미
idstring오름차순 번호. 이 번호로 이어서 받아요(since, Last-Event-ID).
typestring일어난 일.
  • message.created — 메시지가 작성됐어요.
  • message.deleted — 메시지가 삭제됐어요.
  • reaction.added — 누군가 메시지에 이모지로 반응했어요.
  • reaction.removed — 누군가 반응을 취소했어요.
  • member.joined — 누군가 가입했어요.
  • member.left — 누군가 나갔거나 내보내졌어요.
  • voice.joined — 누군가 음성 채널에 들어왔어요.
  • command — 누군가 봇의 명령어를 사용했어요.
  • interaction — 누군가 봇 메시지의 버튼을 눌렀거나 메뉴에서 골랐어요.
communitystring그룹.
channelstring또는 null채널. 그룹 전체에 관한 것이면 null.
createdAtinteger일어난 시점.
dataobject종류에 따른 관련 데이터: message, member(reason 포함), command 또는 interaction.
예시
{
  "id": "4711",
  "type": "message.created",
  "community": "c81d4e2a-0f3b-4a6c-9e57-1d2b3c4a5f60",
  "channel": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a",
  "createdAt": 1758634800000,
  "data": {
    "message": {
      "id": "61a2b3c4-d5e6-4f70-8192-a3b4c5d6e7f8",
      "text": "/dice 6",
      "author": {
        "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
        "handle": "mara",
        "name": "Mara 🌻",
        "bot": false
      },
      "media": 0,
      "replyTo": null,
      "threadOf": null,
      "createdAt": 1758634800000
    }
  }
}

BotCommand

봇의 명령어.

필드유형의미
namestring“/” 없는 명령어 이름.
descriptionstring명령어가 하는 일.
예시
{
  "name": "dice",
  "description": "Rolls a die"
}

VoiceSeat

음성 채널의 자리.

필드유형의미
urlstring미디어 서버(LiveKit) 주소.
tokenstring이 채널용 토큰. 몇 분 동안 유효해요.
iceServersobject[]연결에 쓰는 STUN 및 TURN 서버.
speakboolean봇이 거기서 소리를 보낼 수 있는지 여부.
videoboolean봇이 거기서 영상을 보낼 수 있는지 여부.
예시
{
  "url": "wss://voice.example.org",
  "token": "eyJhbGciOiJIUzI1NiJ9…",
  "iceServers": [
    {
      "urls": [
        "stun:turn.example.org:3478"
      ]
    }
  ],
  "speak": true,
  "video": false
}

Webhook

내 웹훅 하나.

필드유형의미
idstring웹훅의 id.
urlstring웹훅 주소.
kindsstring[]어떤 소식을 받는지.
activeboolean전송을 받는지 여부. 연속으로 여러 번 실패하면 꺼져요.
lastStatusinteger또는 null마지막 전송의 HTTP 상태.
lastAtinteger또는 null마지막으로 전송된 시점.
failuresinteger연속 실패 횟수.
예시
{
  "id": "1f2e3d4c-5b6a-4798-8a7b-6c5d4e3f2a1b",
  "url": "https://example.org/tellmelo-hook",
  "kinds": [
    "reply",
    "mention"
  ],
  "active": true,
  "lastStatus": 200,
  "lastAt": 1758624000000,
  "failures": 0
}

WebhookCreated

시크릿이 포함된 새 웹훅.

필드유형의미
idstring웹훅의 id.
secretstring서명용 시크릿. 이번 한 번만 표시돼요.
예시
{
  "id": "1f2e3d4c-5b6a-4798-8a7b-6c5d4e3f2a1b",
  "secret": "whsec_3f9a…"
}

GroupBot

그룹의 봇.

필드유형의미
idstring봇 계정의 id.
handlestring봇의 핸들.
namestring봇 이름.
descriptionstring봇이 하는 일. 소유자가 쓴 설명이에요.
permissionsstring[]그룹에서 봇의 역할이 허용하는 것.
예시
{
  "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
  "handle": "gardenbot",
  "name": "Garden bot",
  "description": "Reminds the group of watering days.",
  "permissions": [
    "send",
    "view"
  ]
}

VoiceRoom

음성 채널과 그 안에 있는 사람들.

필드유형의미
channelstring채널의 id.
peopleVoicePerson[]지금 들어와 있는 사람.
예시
{
  "channel": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a",
  "people": [
    {
      "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
      "handle": "mara",
      "name": "Mara 🌻",
      "muted": false,
      "deaf": false,
      "camera": false,
      "screen": true
    }
  ]
}

VoicePerson

음성 채널에 있는 사람.

필드유형의미
idstring계정의 id.
handlestring핸들.
namestring표시 이름.
mutedboolean마이크가 꺼져 있는지 여부.
deafboolean아무것도 듣지 않는지 여부(직접 선택).
cameraboolean카메라가 켜져 있는지 여부.
screenboolean화면을 공유하는지 여부.
예시
{
  "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
  "handle": "mara",
  "name": "Mara 🌻",
  "muted": true,
  "deaf": false,
  "camera": false,
  "screen": false
}

GiftDrop

게시물 아래의 선물 – 받아 간 사람의 이름은 절대 포함되지 않아요.

필드유형의미
itemstring한 자리에 들어 있는 것.
  • plan — 플랜 개월 수(서포터).
  • sparks — 스파크.
quantityinteger자리마다 들어 있는 양: 개월 수 또는 스파크 수.
placesinteger전체 자리 수.
leftinteger아직 남은 자리 수.
audiencestring받을 수 있는 사람.
  • all — 모두.
  • followers — 선물하는 사람의 팔로워만.
  • group — 게시물이 있는 그룹의 멤버만.
newAccountsboolean가입 7일 미만 계정도 받을 수 있는지 여부.
statusstring현재 상태.
  • awaiting_payment — 결제를 기다리는 중이에요. 게시물은 아직 게시되지 않았어요.
  • open — 아직 받을 수 있는 자리가 있어요.
  • closed — 종료: 모두 받아 갔거나, 결제가 환불됐거나, 게시물이 삭제됐어요.
claimedboolean내가 이미 자리를 받았는지 여부(공개 경로에서는 항상 false).
예시
{
  "item": "plan",
  "quantity": 3,
  "places": 10,
  "left": 4,
  "audience": "followers",
  "newAccounts": false,
  "status": "open",
  "claimed": true
}

OwnGiftDrop

게시물 아래의 내 선물, 게시물과 결제 방식 포함.

GiftDrop의 모든 필드, 그리고 추가로:

필드유형의미
postIdstring선물이 달린 게시물.
fundingstring선물 비용을 낸 방식.
  • free — 무료.
  • quota — 할당량에서.
  • payment — 결제함.
createdAtinteger만들어진 시점.
예시
{
  "item": "plan",
  "quantity": 3,
  "places": 10,
  "left": 4,
  "audience": "followers",
  "newAccounts": false,
  "status": "open",
  "claimed": false,
  "postId": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
  "funding": "quota",
  "createdAt": 1758624000000
}

Quota

할당량에 들어 있는 것.

필드유형의미
monthsinteger아직 선물할 수 있는 플랜 개월 수.
sparksinteger아직 선물할 수 있는 스파크.
looksQuotaLook[]보유 중이며 아직 선물할 수 있는 룩(2.13부터).
예시
{
  "months": 120,
  "sparks": 500,
  "looks": [
    {
      "id": "frame-gold",
      "name": "Goldring",
      "kind": "frame",
      "quantity": 25
    }
  ]
}

QuotaLook

파트너 재고 속의 룩과 남은 수량(2.13부터).

필드유형의미
idstring룩의 ID. 선물할 때 itemId로 넘겨요.
namestring룩의 이름.
kindstring룩의 종류.
  • frame — 프로필 테두리.
  • background — 커버 이미지 효과.
  • card — 프로필 카드.
quantityinteger남은 수량.
예시
{
  "id": "frame-gold",
  "name": "Goldring",
  "kind": "frame",
  "quantity": 25
}

QuotaGift

할당량에서 보낸 선물.

필드유형의미
itemstring선물한 것.
  • plan — 플랜 개월 수(서포터).
  • sparks — 스파크.
  • shop — 보유 중인 룩(2.13부터).
quantityinteger얼마나.
itemIdstring또는 nullitem이 shop일 때 선물한 룩, 그 외에는 null.
recipientActor받은 사람.
createdAtinteger언제.
예시
{
  "item": "plan",
  "quantity": 3,
  "itemId": null,
  "recipient": {
    "handle": "jon",
    "name": "Jon"
  },
  "createdAt": 1758627600000
}

MediaItem

미디어 라이브러리의 GIF 또는 동영상(2.14부터).

필드유형의미
idstringID. 게시할 때 media에 써요.
kindstringGIF 또는 동영상.
  • gif — 소리 없이 반복되는 MP4로 된 GIF.
  • video — 소리가 있는 MP4 동영상.
namestring이름.
keywordsstring키워드(소문자).
widthinteger너비(픽셀).
heightinteger높이(픽셀).
secondsinteger길이(초). GIF는 0.
urlstring이 인스턴스 기준 상대 경로의 MP4 파일. 헤더에 키를 넣어 불러오세요.
posterstring미리보기 이미지. 마찬가지로 키가 필요해요.
uploaderActor업로드한 사람.
mineboolean내 것인지 여부.
sharedbooleantellmelo의 모든 사람과 공유됐는지 여부.
anywhereboolean다른 웹사이트에도 표시될 수 있는지 여부.
embedEmbed또는 null다른 웹사이트용 주소. 허용되지 않은 동안은 null.
예시
{
  "id": "b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
  "kind": "gif",
  "name": "Happy bees",
  "keywords": "bees garden happy",
  "width": 480,
  "height": 270,
  "seconds": 0,
  "url": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
  "poster": "/api/media?id=b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918&poster=1",
  "uploader": {
    "handle": "mara",
    "name": "Mara 🌻"
  },
  "mine": false,
  "shared": true,
  "anywhere": true,
  "embed": {
    "page": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
    "file": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918/file",
    "poster": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918/poster",
    "code": "<iframe src=\"https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918\" width=\"480\" height=\"300\" title=\"Happy bees\" style=\"border:0;max-width:100%\" loading=\"lazy\" allowfullscreen></iframe>"
  }
}

Embed

다른 웹사이트용 주소. 키 없이 작동해요.

필드유형의미
pagestring<iframe>용 플레이어.
filestring직접 만든 플레이어용 MP4 파일.
posterstring미리보기 이미지.
codestring바로 삽입할 수 있는 완성된 코드.
예시
{
  "page": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918",
  "file": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918/file",
  "poster": "https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918/poster",
  "code": "<iframe src=\"https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918\" width=\"480\" height=\"300\" title=\"Happy bees\" style=\"border:0;max-width:100%\" loading=\"lazy\" allowfullscreen></iframe>"
}

UploadStarted

시작된 업로드.

필드유형의미
uploadstring이 업로드의 ID.
pieceinteger한 조각의 최대 크기(바이트).
예시
{
  "upload": "e7c1a2b3-4d5e-4f60-8a9b-0c1d2e3f4a5b",
  "piece": 4194304
}

UploadPiece

도착한 조각.

필드유형의미
receivedinteger도착한 바이트 수.
itemMediaItem또는 null마지막 조각 이후에는 새 GIF 또는 동영상, 그 외에는 null.
예시
{
  "received": 4194304,
  "item": null
}

Created

무언가를 만든 쓰기 요청의 응답.

필드유형의미
idstring만들어진 것의 ID.
scheduledForinteger또는 null게시가 예약됐다면 게시되는 시각(아니면 null).
deleteAtinteger또는 null자동 삭제가 설정됐다면 삭제되는 시각(아니면 null).
예시
{
  "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
  "scheduledFor": null,
  "deleteAt": null
}

DropCreated

선물이 담긴 게시물을 만들었을 때의 응답.

필드유형의미
idstring새 게시물의 id.
fundingstring선물 비용을 낸 방식.
  • free — 무료.
  • quota — 할당량에서.
예시
{
  "id": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
  "funding": "quota"
}

Made

방금 만들거나 변경한 것.

필드유형의미
idstringid. 초대 링크이면 링크 코드.
예시
{
  "id": "0d9c8b7a-6f5e-4d3c-2b1a-0f9e8d7c6b5a"
}

Action

카탈로그의 작업 하나.

필드유형의미
namestringPOST /actions/{name}에 쓰는 액션 이름.
scopestring액션에 필요한 키 권한.
passwordboolean내 비밀번호를 password에 함께 보내는지 여부.
fieldsstring[]작업이 읽는 필드로, 앱이 보내는 것과 같습니다. 코드에서 읽어 낸 것이며 타입은 없습니다. 확실히 읽을 수 없으면 비어 있습니다.
예시
{
  "name": "collection.new",
  "scope": "write",
  "password": false,
  "fields": [
    "name"
  ]
}

ActionAnswer

범용 경로의 응답.

필드유형의미
resultobject또는 null앱이 받는 것과 같은 액션 자체의 응답.
예시
{
  "result": {
    "id": "f3a9c2e1-7b6d-4e5f-9a8b-1c2d3e4f5a6b"
  }
}

PostOfTheWeek

이번 주의 게시물, 또는 보여 줄 것 없음.

필드유형의미
roundPickRound또는 null라운드. 보여 줄 것이 없으면 null.
예시
{
  "round": {
    "id": "r1",
    "kind": "week",
    "open": true,
    "opensAt": 1763200000000,
    "closesAt": 1763458800000,
    "nominees": [
      {
        "post": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
        "author": "mara",
        "text": "Our first harvest 🌻",
        "mine": false
      }
    ],
    "vote": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
    "mayVote": true,
    "winner": null
  }
}

PickRound

이번 주의 게시물 라운드.

필드유형의미
idstring투표할 때 쓰는 라운드 ID.
kindstring라운드에서 뽑는 것.
  • week — 이번 주의 게시물.
  • year — 올해의 게시물.
openboolean투표할 수 있는지 여부.
opensAtinteger라운드가 시작된 시점(1970년 이후 밀리초).
closesAtinteger라운드가 끝나는 시점(1970년 이후 밀리초).
nomineesPickNominee[]후보 게시물.
votestring또는 null내가 투표한 게시물 또는 null.
mayVoteboolean내가 투표할 수 있는지 여부. 새 계정은 며칠 기다려야 해요.
winnerPickNominee또는 null라운드가 끝난 뒤 선정된 게시물, 그 외에는 null.
예시
{
  "id": "r1",
  "kind": "week",
  "open": true,
  "opensAt": 1763200000000,
  "closesAt": 1763458800000,
  "nominees": [],
  "vote": null,
  "mayVote": true,
  "winner": null
}

PickNominee

라운드에 오른 게시물.

필드유형의미
poststring게시물 ID.
authorstring작성자의 @이름.
textstring게시물 텍스트.
mineboolean내 게시물인지 여부.
예시
{
  "post": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1",
  "author": "mara",
  "text": "Our first harvest 🌻",
  "mine": false
}

PickVote

변경 후 내 투표.

필드유형의미
votestring또는 null내가 투표한 게시물. 투표를 취소했으면 null.
예시
{
  "vote": "5f0c2a9e-8d41-4b7a-9c3e-2e61d0f4a7b1"
}

PickEligible

내 게시물이 선정될 수 있는지 여부.

필드유형의미
eligibleboolean내 게시물이 선정될 수 있는지 여부.
예시
{
  "eligible": true
}

Settings

내 설정.

필드유형의미
settingsobject이름과 값으로 정리한 설정.
예시
{
  "settings": {
    "chatCompact": true
  }
}

OwnStatus

내가 고른 상태.

필드유형의미
presencestring내가 고른 것.
  • online — 온라인. 10분 동안 입력이 없으면 자리 비움.
  • idle — 바꿀 때까지 자리 비움.
  • dnd — 방해 금지: 푸시 알림과 소리 없음.
  • invisible — 보이지 않음: 다른 사람에게는 오프라인으로 보여요.
statusStatusText또는 null내 상태. 없으면 null.
예시
{
  "presence": "dnd",
  "status": {
    "emoji": "🌱",
    "text": "Planting tomatoes",
    "until": 1758710400000
  }
}

StatusText

상태: 일정 기간 동안의 이모지와 짧은 글.

필드유형의미
emojistring또는 null앞의 이모지. 없으면 null.
textstring글.
untilinteger또는 null언제까지 유효한지(밀리초). 무기한이면 null.
예시
{
  "emoji": "🌱",
  "text": "Planting tomatoes",
  "until": 1758710400000
}

MemberStatus

멤버에게서 보이는 것.

필드유형의미
idstring계정의 id.
presencestring멤버의 지금 접속 상태.
  • online — 온라인.
  • idle — 자리 비움.
  • dnd — 방해 금지.
  • offline — 오프라인, 보이지 않음 또는 온라인 표시를 끈 상태.
statusStatusText또는 null그 사람의 상태. 없으면 null.
activityActivity또는 null하고 있는 게임. 없거나 보여 주지 않으면 null.
예시
{
  "id": "a3e1f7c2-54b9-4d0e-8f16-7b2c9d4e1a05",
  "presence": "online",
  "status": {
    "emoji": "🌱",
    "text": "Planting tomatoes",
    "until": 1758710400000
  },
  "activity": {
    "source": "rich",
    "name": "Factorio",
    "game": {
      "id": "7c1d9e2f-3a4b-4c5d-8e6f-1a2b3c4d5e6f",
      "logo": "/api/media?id=4f3e2d1c-0b9a-4876-9543-210fedcba987"
    },
    "details": "Building a rail network",
    "state": "Multiplayer",
    "startedAt": 1758620400000,
    "endsAt": null,
    "largeImage": null,
    "largeText": null,
    "smallImage": null,
    "smallText": null,
    "party": {
      "size": 2,
      "max": 4
    },
    "buttons": [
      {
        "label": "Get the game",
        "url": "https://example.org/game"
      }
    ]
  }
}

Playing

지금 하고 있는 게임.

필드유형의미
activityActivity또는 null게임. 없으면 null.
예시
{
  "activity": {
    "source": "rich",
    "name": "Factorio",
    "game": {
      "id": "7c1d9e2f-3a4b-4c5d-8e6f-1a2b3c4d5e6f",
      "logo": "/api/media?id=4f3e2d1c-0b9a-4876-9543-210fedcba987"
    },
    "details": "Building a rail network",
    "state": "Multiplayer",
    "startedAt": 1758620400000,
    "endsAt": null,
    "largeImage": null,
    "largeText": null,
    "smallImage": null,
    "smallText": null,
    "party": {
      "size": 2,
      "max": 4
    },
    "buttons": [
      {
        "label": "Get the game",
        "url": "https://example.org/game"
      }
    ]
  }
}

Activity

누군가 하고 있는 게임.

필드유형의미
sourcestring표시의 출처.
  • manual — 직접 입력함.
  • detected — 데스크톱 앱이 프로그램으로 인식함.
  • rich — 게임이 직접 알림.
namestring게임 이름.
gameActivityGame또는 null카탈로그의 게임. 게임 없는 이름이면 null.
detailsstring또는 null게임이 알려 주는 첫 줄. 없으면 null.
statestring또는 null둘째 줄. 없으면 null.
startedAtinteger또는 null언제부터 하고 있는지(밀리초). 없으면 null.
endsAtinteger또는 null끝나는 시간(예: 한 판, 밀리초). 없으면 null.
largeImagestring또는 null큰 이미지 주소. 없으면 null.
largeTextstring또는 null큰 이미지 설명. 없으면 null.
smallImagestring또는 null작은 이미지 주소. 없으면 null.
smallTextstring또는 null작은 이미지 설명. 없으면 null.
partyActivityParty또는 null게임 속 파티. 없으면 null.
buttonsActivityButton[]웹 주소가 있는 버튼 최대 2개.
예시
{
  "source": "rich",
  "name": "Factorio",
  "game": {
    "id": "7c1d9e2f-3a4b-4c5d-8e6f-1a2b3c4d5e6f",
    "logo": "/api/media?id=4f3e2d1c-0b9a-4876-9543-210fedcba987"
  },
  "details": "Building a rail network",
  "state": "Multiplayer",
  "startedAt": 1758620400000,
  "endsAt": null,
  "largeImage": null,
  "largeText": null,
  "smallImage": null,
  "smallText": null,
  "party": {
    "size": 2,
    "max": 4
  },
  "buttons": [
    {
      "label": "Get the game",
      "url": "https://example.org/game"
    }
  ]
}

ActivityGame

카탈로그의 게임.

필드유형의미
idstring게임의 id.
logostring또는 null로고 주소. 없으면 null.
예시
{
  "id": "7c1d9e2f-3a4b-4c5d-8e6f-1a2b3c4d5e6f",
  "logo": "/api/media?id=4f3e2d1c-0b9a-4876-9543-210fedcba987"
}

ActivityParty

게임 속 파티(예: “2/4”).

필드유형의미
sizeinteger지금 인원.
maxinteger최대 인원.
예시
{
  "size": 2,
  "max": 4
}

ActivityButton

웹 주소로 가는 버튼.

필드유형의미
labelstring버튼 글자.
urlstringhttps 주소.
예시
{
  "label": "Get the game",
  "url": "https://example.org/game"
}

Game

이름으로 찾은 게임.

필드유형의미
idstring또는 null게임의 id. 아직 아무도 고르지 않은 Steam 상점 게임이면 null.
namestring이름.
logostring또는 null로고 주소. 없으면 null.
예시
{
  "id": "7c1d9e2f-3a4b-4c5d-8e6f-1a2b3c4d5e6f",
  "name": "Factorio",
  "logo": "/api/media?id=4f3e2d1c-0b9a-4876-9543-210fedcba987"
}

Ok

돌려줄 것이 없는 쓰기 요청의 응답.

필드유형의미
okboolean항상 true.
예시
{
  "ok": true
}

내 게임의 플레이 상태 표시

내 게임은 데스크톱 앱(1.15.0 이상)을 통해 누군가 지금 게임에서 무엇을 하는지 보여 줄 수 있어요. 모드 한 줄, 상태 한 줄, 시간, 파티, 이미지, 버튼 최대 2개로 Discord와 같아요. 이를 위해 앱은 같은 컴퓨터에서만 듣고, 어느 것도 내 서버를 거치지 않아요.

  1. 개발자 창의 “게임”에서 게임을 만드세요. 이름, 로고, 프로그램 이름, 이미지를 넣고 이미지마다 소문자, 숫자, _로 된 키를 붙여요. 거기 나오는 id가 client_id예요.
  2. 앱에 연결하세요. Windows에서는 \\.\pipe\tellmelo-ipc-0, 그 밖에서는 XDG_RUNTIME_DIR(또는 임시 폴더)의 소켓 tellmelo-ipc-0을 써요. 먼저 v: 1과 client_id를 담은 핸드셰이크(op 0)를 보내면 앱이 READY로 답해요.
  3. 게임에서 무언가 바뀔 때마다 args.activity를 담은 SET_ACTIVITY(op 1)를 보내세요. 앱이 15초 안에 전달해요. activity: null을 보내거나 연결을 닫으면 사라져요.
  4. 게임을 검토에 보내세요. 팀이 승인할 때까지는 나만 볼 수 있어요. 나중에 이름, 로고, 프로그램 이름을 바꾸면 다시 검토해요.
  • 읽는 항목은 details와 state(각 128자까지), timestamps.start와 end(초 또는 밀리초), large_text, small_text와 함께 assets.large_image, small_image(웹 주소가 아닌 내 이미지의 키), [현재, 최대] 형식의 party.size(999까지), buttons(최대 2개, 각각 label(32자까지)과 https 주소)예요.
  • 프레임은 Discord와 같아요. 8바이트 헤더(op와 길이, 각각 32비트 리틀 엔디언) 뒤에 JSON이 오고 최대 64KB예요. op 0 핸드셰이크, 1 메시지, 2 닫기, 3 ping, 4 pong. 게임이 이미 Discord와 통신한다면 다른 주소와 tellmelo의 id만 있으면 돼요.
  • 같은 컴퓨터에서 같은 사용자의 프로그램만 앱에 연결할 수 있어요. 맞지 않는 부분은 거부되지 않고 빠져요. 본인이 “내가 하는 게임 보여 주기”를 켰을 때만, 그리고 프로필을 볼 수 있는 사람에게만 보이고, 앱에서 3분 동안 소식이 없으면 끝나요.

Node.js로 만든 전체 예시:

// Node 18 or newer, in or beside the game: tells tellmelo what the player does.
import net from 'node:net';
import path from 'node:path';
import os from 'node:os';

const CLIENT_ID = 'your-game-id'; // Developer window → Games
const where = process.platform === 'win32'
  ? '\\.\pipe\tellmelo-ipc-0'
  : path.join(process.env.XDG_RUNTIME_DIR || os.tmpdir(), 'tellmelo-ipc-0');

const frame = (op, body) => {
  const json = Buffer.from(JSON.stringify(body));
  const head = Buffer.alloc(8);
  head.writeUInt32LE(op, 0);
  head.writeUInt32LE(json.length, 4);
  return Buffer.concat([head, json]);
};

const socket = net.connect(where, () => socket.write(frame(0, { v: 1, client_id: CLIENT_ID })));
socket.once('data', () => {
  // READY came: from now on, as often as something changes in the game.
  socket.write(frame(1, {
    cmd: 'SET_ACTIVITY',
    nonce: String(Date.now()),
    args: {
      pid: process.pid,
      activity: {
        details: 'Ranked match',
        state: 'In a group',
        party: { size: [2, 4] },
        timestamps: { start: Math.floor(Date.now() / 1000) },
        assets: { large_image: 'map_forest', large_text: 'Forest', small_image: 'rank_gold', small_text: 'Gold' },
        buttons: [{ label: 'Get the game', url: 'https://example.org' }],
      },
    },
  }));
});
// Closing the connection (or activity: null) takes it back.

기계가 읽을 수 있는 설명

이 페이지의 표는 https://api.tellmelo.com/v2/openapi.json에서 OpenAPI로 볼 수 있어요.

https://api.tellmelo.com/v2/openapi.json

다른 웹사이트의 GIF와 동영상

멤버가 공유하면서 다른 웹사이트에도 허용한 것은 어느 웹사이트에서나 보여 줄 수 있어요. anywhere=true로 검색하면 찾을 수 있고, embed에 주소가 들어 있어요. 멤버가 허용을 거두면 몇 분 안에 그곳에서 사라져요.

조각으로 나눠 업로드하기

먼저 업로드를 시작한 다음 파일을 조각으로 나눠 보내요. 큰 파일은 piece 바이트 크기의 조각으로 나누고, 각 조각의 위치를 offset에 넣어요. 마지막 조각을 보내면 완성된 GIF나 동영상을 받아요.

curl -X POST -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/json" \
  -d '{"kind":"gif","size":2400000,"name":"Happy bees","shared":true,"anywhere":true}' \
  "https://api.tellmelo.com/v2/media/uploads"
→ { "upload": "e7c1a2b3-4d5e-4f60-8a9b-0c1d2e3f4a5b", "piece": 4194304 }

curl -X PUT -H "Authorization: Bearer tm_key_…" \
  -H "Content-Type: application/octet-stream" \
  --data-binary @bees.gif \
  "https://api.tellmelo.com/v2/media/uploads/e7c1a2b3-4d5e-4f60-8a9b-0c1d2e3f4a5b?offset=0"
→ { "received": 2400000, "item": { "id": "…", "embed": { … } } }

삽입하기

플레이어는 GIF를 반복 재생하거나 동영상을 컨트롤과 함께 보여 주고, 그 아래에 이름과 공유한 사람을 표시해요. embed.code의 코드를 페이지에 넣으세요:

<iframe src="https://tellmelo.com/media-embed/b2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918" width="480" height="300" title="Happy bees" style="border:0;max-width:100%" loading="lazy" allowfullscreen></iframe>

oEmbed를 지원하는 포럼과 프로그램은 플레이어 주소만 주면 코드를 직접 가져와요:

https://tellmelo.com/api/oembed?url=https%3A%2F%2Ftellmelo.com%2Fmedia-embed%2Fb2d7e9f1-3c4a-4e8b-a1f0-6d5c4b3a2918

키는 내 서버에만 두고, 절대 웹페이지 코드에 넣지 마세요. 검색과 업로드는 내 서버를 거쳐서 하세요. embed의 주소에는 키가 필요 없어요.

내 웹사이트용 GIF 선택기

사이트 키(개발자 영역 → 내 웹사이트용 GIF 선택기)가 있으면 내 웹사이트에 완성된 검색 기능이 생겨요. 페이지에 두 줄만 넣으면, 버튼을 클릭해서 열 수 있어요. 이 키는 공개되며, 키에 등록한 주소에서만 작동해요. 선택기에는 멤버가 다른 웹사이트에 허용한 것만 나와요.

<script src="https://tellmelo.com/picker.js" data-key="tmsk_…" defer></script>
<button type="button" data-tellmelo-picker>GIF</button>

무언가를 고르면 버튼이 항목과 함께 tellmelo:pick을 보내요: 삽입용 code, file, poster, name, author. data-target="#feld"를 쓰면 code를 바로 텍스트 필드에 넣고, data-kind="video"를 쓰면 동영상을 검색해요. 파일을 직접 삽입한다면 공유한 사람의 이름을 표시하세요.

document.addEventListener('tellmelo:pick', (event) => {
  const { code, file, name, author } = event.detail;
});

tellmelo로 로그인

다른 사이트는 OpenID Connect(PKCE를 사용하는 인가 코드)로 멤버가 tellmelo 계정으로 로그인하게 할 수 있어요. 사이트는 사용자 이름, 인증된 이메일 주소, 멤버별 고유 식별자(sub)만 받아요.

“개발자 영역 → tellmelo로 로그인”에서 앱을 신청하세요. 팀이 모든 앱을 검토하고, 그 후 그곳에서 클라이언트 ID를 확인할 수 있어요. 서버가 있는 앱은 클라이언트 시크릿을 만들 수 있고, 시크릿은 한 번만 표시돼요.

라이브러리에 필요한 모든 정보는 디스커버리 문서에 있어요:

https://tellmelo.com/.well-known/openid-configuration
  1. 멤버를 /oauth/authorize로 보내세요. response_type=code, client_id, redirect_uri(등록한 그대로), scope=openid profile email, state, nonce, 그리고 code_challenge_method=S256과 함께 code_challenge를 넣어요.
  2. 1분 안에 /oauth/token에서 코드를 교환하세요: grant_type=authorization_code, code, redirect_uri, code_verifier. 서버가 있는 앱은 시크릿도 Basic 인증이나 폼으로 함께 보내요.
  3. ID 토큰(RS256, 키는 /oauth/jwks)에는 sub가 들어 있고, profile이 있으면 preferred_username도, email이 있으면 email과 email_verified도 들어 있어요. 액세스 토큰은 10분 동안 유효하고 /oauth/userinfo만 읽을 수 있어요.
https://tellmelo.com/oauth/authorize?response_type=code&client_id=tm_…
  &redirect_uri=https%3A%2F%2Fexample.com%2Fcallback&scope=openid%20profile%20email
  &state=…&nonce=…&code_challenge=…&code_challenge_method=S256

curl -u "tm_…:tms_…" https://tellmelo.com/oauth/token \
  -d grant_type=authorization_code -d code=… \
  -d redirect_uri=https://example.com/callback -d code_verifier=…
{
  "iss": "https://example.social",
  "sub": "Xq3vR0b8yJm1cW4tZ2kPn6sLd9fHa7gE5uTo0iBeVxY",
  "aud": "tm_5f2c9e1a7b3d4c6e8f0a1b2c",
  "iat": 1760432400,
  "exp": 1760433000,
  "nonce": "n-0S6_WzA2Mj",
  "at_hash": "HK6E_P6Dh8Y93mRNtsDB1Q",
  "preferred_username": "anna",
  "email": "anna@example.com",
  "email_verified": true
}

리프레시 토큰은 없어요: tellmelo는 로그인만 처리하고 지속적인 접근 권한은 주지 않아요. 멤버가 사이트를 삭제하거나 팀이 앱을 정지하면 /oauth/userinfo는 즉시 401로 응답해요. prompt=none은 페이지 없이 확인하고, prompt=consent는 다시 물어봐요.

지켜 주셨으면 하는 것

다른 곳과 같은 규칙이 적용돼요. 괴롭힘, 스팸, 권리가 없는 남의 콘텐츠는 안 돼요. 내 키로 작성된 내용은 내가 책임져요.

다른 멤버의 GIF와 동영상은 embed가 있을 때만, 해당 주소를 통해, 공유한 사람의 이름과 함께 내 웹사이트에 표시하세요. 더 이상 볼 수 없게 된 것은 표시를 멈추세요. 파일을 따로 모아 두지 마세요.

tellmelo.

  • tellmelo로 이동
  • 앱
  • 내 상태

고객센터

  • 고객센터
  • 지원
  • 내 문의

법적 고지

  • 사업자 정보
  • 개인정보 보호
  • 이용약관

개발자

  • API 문서
  • 개발자 창