Cannot authenticate through API

Integration questions/issues
Locked
michael
Posts: 1
Joined: Thu Jun 11, 2015 6:40 am

Cannot authenticate through API

Post by michael » Thu Jun 11, 2015 6:41 am

API usage for my account

ReplyReply allForward
Mark as unread
MM
Michael Mattan
Wed 10-Jun-15 09:09
To:
support@onlyoffice.com;

Hi,

this morning I have purchased access for 1 year for 3-5 users.
I will be accessing OnlyOffice through the API's provided by you.

Now I have been trying to authenticate my user through the API (https://portal.onlyoffice.com/api/2.0/authentication, with parameters "userName" and "password") with the correct credentials, but I keep receiving the error message:
{
"status": 1,
"statusCode": 402,
"error": {
"message": "Payment Required.",
"hresult": -2147467259,
"data": {}
}
}

Since I already made the payment and in my portal it also shows "You are using 80$/year* plan", I don't know what is going wrong at the moment. Could you help me on this issue?

kind regards,
Michael Mattan

Dean
Posts: 700
Joined: Tue Sep 30, 2014 11:04 am

Re: Cannot authenticate through API

Post by Dean » Thu Jun 11, 2015 11:54 am

Dear Michael,

The following POST request has been made to https://portal.onlyoffice.com/api/2.0/authentication instead of your portal address.

It should be the address of your portal, not an example one.

Please change the request string.

Locked