Forum Discussion
Abdul Azeez
Aug 19, 2019Copper Contributor
Unable to post a message from Graph API Explorer to Teams
After following the documentation i am able to create a Channel but unable to post a message to a channel.
POST Method:
Response:
{
"error": {
"code": "BadRequest",
"message": "Resource not found for the segment 'messages'.",
"innerError": {
"request-id": "729731a6-d7ce-4687-a00a-51eda380a705",
"date": "2019-08-19T18:33:50"
}
}
}
- Vadivelu_BalusamyIron Contributor
Abdul Azeez Please validate using graph explorer once again. We can able to test using beta version. Chat messages in preview now.
GET https://graph.microsoft.com/beta/teams/303d2c1c-f1c5-40ce-b68e-544343d7f42b/channels/19:fec4b0f2825d4c8c82abc09027a64184@thread.skype/messagesFollow the below link
https://docs.microsoft.com/en-us/graph/api/channel-list-messages?view=graph-rest-beta&tabs=http