BlinkMonitorProtocol
BlinkMonitorProtocol copied to clipboard
My configuration stopped working 5 days 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 :
To
https://rest-prod.immedia-semi.com/api/v5/account/login
I got :
I do the SMS pin verif
to https://rest-e005.immedia-semi.com/api/v4/account/xxxxxx/client/{{clientID}}/pin/verify
I got :
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 :
Any idea ?
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
24h later unauthorized Access ... :(
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