Teamly API
  1. Blog
Teamly API
  • Introduction
  • Getting Started
    • Quick Start
    • API Versions
  • Permissions
    • Channel Permission Values
    • Team Global Permissions
  • Core Resources
    • Channels
      • Update Channel
        • Update Team Channel
        • Update Channel Role Permissions
      • Get Team Channels
      • Create Team Channel
      • Delete Team Channel
      • Duplicate a Channel on Team
      • Update Channel Priorities of Team
    • Messages
      • Create Channel Message
      • Delete a Channel Message
      • Get Channel Messages
      • Update a Channel Message
      • React to Message
      • Delete Reaction from Message
      • Get a Channel Message by Id
    • Teams
      • Members
        • Add Role to Member
        • Remove Role from Member
        • Kick Member from Team
        • Get Member
      • Bans
        • Get Banned Users
        • Unban User
        • Ban User
      • Get a Team
      • Update a Team
    • Roles
      • Create a Role for Team
      • Get Team Roles
      • Delete a Role
      • Clone Role
      • Update Role Priorities of Team
      • Update a Team Role
    • Users
      • Get User By Id
      • Get Logged In User
    • Todos
      • Get Todo Items
      • Create Todo Item
      • Delete Todo Item
      • Clone Todo Item
      • Update Todo Item
    • Direct Messages
      • Create a Direct Message
    • Applications
      • Get Application Submissions
      • Update a Application Status
      • Update Team's Application Status
      • Update Team's Application Questions
      • Get Application By Id
    • Reactions
      • Get Team's Custom Reactions
      • Create New Custom Reaction for Team
      • Update a Custom Reaction
      • Delete a Custom Reaction
    • Attachments
      • Upload Attachment
    • Voice
      • Get Credentials for Join Voice Channel
      • Update Your Voice Metadata
      • Leave from Voice Channel
    • Webhooks
      • Create Message With Webhook
      • Webhook for GitHub
    • Blog
      • Get Blog Posts
        GET
      • Create a Blog Post
        POST
      • Delete a Blog Post
        DELETE
    • Category
      • Create a Category
      • Update a Category
      • Update Category Role Permissions
      • Delete a Category
      • Add a Channel To Category
      • Delete a channel from category
      • Set channel priority of category
      • Set a team's category priority
  • Schemas
    • Message
    • Message Embed
    • Channel
    • Direct Message
    • To-do Item
    • Application
    • Emoji
    • Team
    • User
    • Role
    • Webhook
    • Blog
    • Category
  • Websockets
    • Example Bot
    • WebSocket event envelope
      • WebSocket event envelope
      • Keepalive
      • Welcome Message
      • Gateway Opcodes
      • Gateway Close Event Codes
    • Websocket events
      • CHANNEL_CREATED
      • CHANNEL_DELETED
      • CHANNEL_UPDATED
      • MESSAGE_SEND
      • MESSAGE_UPDATED
      • MESSAGE_DELETED
      • MESSAGE_REACTION_ADDED
      • MESSAGE_REACTION_REMOVED
      • PRESENCE_UPDATE
      • TEAM_ROLE_CREATED
      • TEAM_ROLE_DELETED
      • TEAM_ROLES_UPDATED
      • TEAM_UPDATED
      • TODO_ITEM_CREATED
      • TODO_ITEM_DELETED
      • TODO_ITEM_UPDATED
      • USER_JOINED_TEAM
      • USER_LEFT_TEAM
      • USER_JOINED_VOICE_CHANNEL
      • USER_LEFT_VOICE_CHANNEL
      • USER_PROFILE_UPDATED
      • USER_ROLE_ADDED
      • USER_ROLE_REMOVED
      • USER_UPDATED_VOICE_METADATA
      • BLOG_CREATED
      • BLOG_DELETED
      • CATEGORIES_PRIORITY_UPDATED
      • CATEGORY_UPDATED
      • CATEGORY_DELETED
      • CATEGORY_CREATED
      • CHANNELS_PRIORITY_UPDATED
    • Connecting via WebSocket
  1. Blog

Get Blog Posts

GET
https://api.teamly.one/api/v1/teams/{teamId}/blogs

Request

Path Params
teamId
string 
required
Header Params
Authorization
string 
required
Default:
Bot {token}
Content-Type
string 
required
Default:
application/json

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.teamly.one/api/v1/teams//blogs' \
--header 'Authorization;'

Responses

🟢200Success
application/json
Body
success
boolean 
required
blogs
array[object (Blog) {8}] 
required
id
string 
required
Unique identifier for the document
Default:
Generated using createId
title
string 
required
Title of the document
content
string 
required
Content of the document
createdAt
string <date-time>
required
Timestamp when the document was created
Default:
CURRENT_TIMESTAMP
createdBy
string 
required
User who created the document
editedAt
string <date-time>
optional
Timestamp when the document was last edited
Default:
null
teamId
string 
required
ID of the team associated with the document
heroImage
string <uri>
optional
URL of the hero image associated with the document
Default:
null
team
object (Team) 
required
id
string 
required
Unique identifier for the team
name
string 
required
Name of the team
>= 3 characters<= 12 characters
profilePicture
string <uri>
optional
URL to the profile picture of the team
banner
string <uri>
optional
URL to the banner image of the team
description
string 
optional
A description of the team
Example:
A competitive eSports team
isVerified
boolean 
required
Indicates whether the team is verified
isSuspended
boolean 
optional
Indicates whether the team is suspended
createdBy
string 
optional
ID of the user who created the team
defaultChannelId
string 
optional
ID of the default channel for the team
games
array [object {3}] 
optional
List of games associated with the team
isDiscoverable
boolean 
optional
Indicates whether the team is discoverable
discoverableInvite
string <uri> | null 
optional
Invite link for the team if it's discoverable
createdAt
string <date-time>
optional
Timestamp of when the team was created
memberCount
number 
optional
Number of members in the team
Example
{
  "success": true,
  "blogs": [
    {
      "id": "Generated using createId",
      "title": "string",
      "content": "string",
      "createdAt": "CURRENT_TIMESTAMP",
      "createdBy": "string",
      "editedAt": null,
      "teamId": "string",
      "heroImage": null
    }
  ],
  "team": {
    "id": "string",
    "name": "string",
    "profilePicture": "http://example.com",
    "banner": "http://example.com",
    "description": "A competitive eSports team",
    "isVerified": true,
    "isSuspended": true,
    "createdBy": "string",
    "defaultChannelId": "string",
    "games": [
      {
        "id": 0,
        "platforms": [
          "string"
        ],
        "region": "string"
      }
    ],
    "isDiscoverable": true,
    "discoverableInvite": "http://example.com",
    "createdAt": "2019-08-24T14:15:22Z",
    "memberCount": 0
  }
}
Previous
Webhook for GitHub
Next
Create a Blog Post
Built with