GET graph.chat.url ✎ Edit on GitHub

Acquire direct link to chat from it’s ID

NameRequiredTypeDefault valueDescription
chat:id true String

Chat Id in chat:ID format

chat:id parameter is specified as a part of path in URL

Request example

https://api.ok.ru/graph/chat:C4017fdcea600/url?access_token=tkn18YdUJZe:CQABPOJKAKEKEKEKE

Response example

{
    "url":"https://ok.ru/messages/g71003596062794"
}