Authentication

All API calls to Appmixer must include the Authorization header set to Bearer ACCESS_TOKEN.

curl "https://api.appmixer.com/apps" -H "Authorization: Bearer [ACCESS_TOKEN]"

post
Sign-in User

https://api.appmixer.com/user/auth
Sign-in a user with credentials and get their access token. curl -XPOST "https://api.appmixer.com/user/auth" -H "Content-type: application/json" -d '{ "username": "abc@example.com", "password": "abc321" }'
Request
Response
Body Parameters
password
optional
string
Password.
username
optional
string
Username.
200: OK
{
"user": {
"id": "5c88c7cc04a917256c726c3d",
"username":"abc@example.com",
"isActive": false,
"email": "abc@example.com",
"plan":"free"
},
"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVjODhjN2NjMDRhOTE3MjU2YzcyNmMzZCIsInNjb3BlIjpbInVzZXIiXSwiaWF0IjoxNTUyNDkyNjA5LCJleHAiOjE1NTUwODQ2MDl9.9jVcqY0qo9Q_1GeK9Fg14v7OrdpWvzmqnv4jDMZfqnI"
}

post
Create User

https://api.appmixer.com/user
Create
Request
Response
Body Parameters
password
required
string
Password.
email
required
string
Email address.
username
required
string
Username.
200: OK
{
"user": {
"id": "5c88c7cc04a917256c726c3d",
"username":"abc@example.com",
"isActive": false,
"email": "abc@example.com",
"plan":"free"
},
"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVjODhjN2NjMDRhOTE3MjU2YzcyNmMzZCIsInNjb3BlIjpbInVzZXIiXSwiaWF0IjoxNTUyNDkyNjA5LCJleHAiOjE1NTUwODQ2MDl9.9jVcqY0qo9Q_1GeK9Fg14v7OrdpWvzmqnv4jDMZfqnI"
}

get
Get User Information

https://api.appmixer.com/user
Get user information. curl "https://api.appmixer.com/user" -H "Authorization: Bearer [ACCESS_TOKEN]"
Request
Response
‚Äč
200: OK
{
"id": "58593f07c3ee4f239dc69ff7",
"username": "tomas@client.io",
"isActive": true,
"email": "tomas@client.io",
"scope": [
"user"
],
"plan": "beta"
}