Skip to content

Instantly share code, notes, and snippets.

@isleshocky77
Created February 20, 2020 22:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isleshocky77/03a5eae126134bb08d47ecaab36fb196 to your computer and use it in GitHub Desktop.
Save isleshocky77/03a5eae126134bb08d47ecaab36fb196 to your computer and use it in GitHub Desktop.
Lift Master / MyQ / Chamberlain API Usage with cURL (and jq)
MYQ_EMAIL=""
MYQ_PASSWORD=""
MYQ_API_URI="https://myqexternal.myqdevice.com/api/v4"
MYQ_APP_ID="JVM/G9Nwih5BwKgNCjLxiFUQxQijAebyyg8QUHr7JOrP+tuPb8iHfRHKwTmDzHOu"
curl "$MYQ_API_URI/User/Validate" \
-d '{"username":"'$MYQ_EMAIL'","password":"'$MYQ_PASSWORD'"}' \
-H 'Content-Type: application/json' \
-H 'User-Agent: Chamberlain/3.73' \
-H 'BrandID: 2' \
-H 'ApiVersion: 4.1' \
-H 'Culture: en' \
-H 'MyQApplicationID: '$MYQ_APP_ID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment