MattTW / BlinkMonitorProtocol

Unofficial documentation for the Blink Wire-Free HD Home Monitoring & Alert System
412 stars 77 forks source link

My configuration stopped working 5 days ago #73

Open Tombost opened 2 months ago

Tombost commented 2 months ago

Hello, I was using your blink API since several month but now it's not working since 5 days. I didn't have change something. This is how I use it ;

How I login : I send : image

To https://rest-prod.immedia-semi.com/api/v5/account/login I got : image I do the SMS pin verif image

to https://rest-e005.immedia-semi.com/api/v4/account/xxxxxx/client/{{clientID}}/pin/verify I got : image

So everything seems to be OK I can now ARM and DISARM : Using the token and https://rest-e005.immedia-semi.com/api/v1/accounts/xxxxxx/networks/xxxxxx/state/arm for exemple But after 1 day I got : image

Any idea ?

Tombost commented 2 months ago

The verification end point has changed, using apk man in the middle I just see that the pin verify is using: POST /api/v5/accounts/{AccountID}/users/{UserID}/clients/{{clientID}}/client_verification/pin/verify and not POST /api/v4/account/{AccountID}/client/{ClientID}/pin/verify

You get the UserID when you ask https://rest-prod.immedia-semi.com/api/v5/account/login

Tombost commented 2 months ago

24h later unauthorized Access ... :(

ZeterickS commented 1 month ago

Adding the tier to the verify url solved the issue for me. You find the tier in the login response: "tier": ""

https://rest-{TIER}.immedia-semi.com/api/v5/accounts/xxxx/users/xxxxx/clients/xxxxxx/client_verification/pin/verify