Get Started
Portal api methods
Help

POST api/2.0/authentication/sendsms

Description

Send sms code again

Parameters
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
Example
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"
}
Returns

mobile phone

Example Response

application/json

{
  "status": 0,
  "response": {
    "token": "sdjhfskjdhkqy739459234",
    "expires": "2019-08-24T10:53:57.0634979Z",
    "sms": false,
    "phoneNoise": ""
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <token>sdjhfskjdhkqy739459234</token>
    <expires>2019-08-24T10:53:57.0634979Z</expires>
    <sms>false</sms>
    <phoneNoise></phoneNoise>
  </response>
</result>