POST api/2.0/authentication/sendsms
Name |
Description |
Type |
Example |
userName
sent in body
|
user name or email
|
string
|
some text
|
password
sent in body
|
password
|
string
|
some text
|
provider
sent in body
|
social media provider type
|
string
|
some text
|
accessToken
sent in body
|
provider token
|
string
|
some text
|
POST api/2.0/authentication/sendsms
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"userName": "some text",
"password": "some text",
"provider": "some text",
"accessToken": "some text"
}
application/json
{
"status": 0,
"response": {
"token": "abcde12345",
"expires": "2021-03-02T06:12:01.5901489Z"
}
}
text/xml
<result>
<status>0</status>
<response>
<token>abcde12345</token>
<expires>2021-03-02T06:12:01.5901489Z</expires>
</response>
</result>