What are the rate limits for the get channel messages subscription?

Anonymous
2023-08-01T12:53:22.4633333+00:00

What are the rate limits for the /teams/{id}/channels/{id}/messages subscription? I'm using delegated permissions to create subscriptions for messages for teams channels, I see https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http the channel messages subscription is not explicitly mentioned as being metered. Is it metered? If so, does it support model B? If not, what are the rate limits here?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,273 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,341 questions
{count} votes

2 answers

Sort by: Most helpful
  1. msft-gu 1,355 Reputation points
    2023-08-01T17:50:44.6333333+00:00

    Hello Ankit,

    Good afternoon and thank you for your questions.

    About the specifics of the meter, you can refer to Payment models and licensing requirements for Microsoft teams APIs | Reference: https://learn.microsoft.com/en-us/graph/teams-licenses

    The article is helpful to know about the payment model and licensing requirements for the Teams APIs.

    Required license for model=A

    Reference: https://learn.microsoft.com/en-us/graph/teams-licenses#required-licenses-for-modela

    model=A

    API: chatMessage change notifications

    Who needs a license: Message sender

    Seeded capacity: 800 messages per user per month per app

    Notes: Seeded capacity is shared with conversationMember change notifications

    model=B

    API: chatMessage change notifications / chat change notifications

    Seeded capacity: None

    Price for use: $0.00075 per message

    For other information about the maximum subscription quotas, please refer to https://learn.microsoft.com/en-us/graph/api/resources/webhooks?view=graph-rest-1.0

    Resource: Teams chatMesasge

    Supported resource paths: Changes to chat messages in a specific channel: /teams/{id}/channels/{id}/messages

    Maximum subscription quotas:

    • Per app and channel or chat combination: 1 subscription.
    • Per user (for subscriptions tracking chat messages in all chats the user is part of): 10 subscriptions.
    • Per organization: 10,000 total subscriptions.

    If I answered your question, please upvote this and accept it as an answer. Have a great day ahead.


  2. Prasad-MSFT 6,881 Reputation points Microsoft Vendor
    2023-10-31T17:25:48.94+00:00

    /teams/{id}/channels/{id}/messages isn't metered and thus does not support modelB.
    Rate limits for change notifications are the rates for the events coming in i.e., the number of messages coming to a channel.

    Thanks, 

    Prasad Das

    ************************************************************************* 

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.