Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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