Allows managing all following entities in Wallkit System:
<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/672fab60-104b-43cb-92f0-2f5e7d8cf6aa/end.svg" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/672fab60-104b-43cb-92f0-2f5e7d8cf6aa/end.svg" width="40px" /> Endpoints
POST /authorization POST /authorization/refresh GET /logout GET /admin/users POST /admin/users GET /admin/users/{id} PUT /admin/users/{id} GET /admin/users/{id}/mails GET /admin/users/{id}/transactions GET /admin/mails GET /admin/mail-templates POST /admin/mail-templates GET /admin/mail-templates/{id} PUT /admin/mail-templates/{id} DELETE /admin/mail-templates/{id} GET /admin/promos POST /admin/promos GET /admin/promos/{id} PUT /admin/promos/{id} DELETE /admin/promos/{id} GET /admin/invites POST /admin/invites GET /admin/invites/{id} PUT /admin/invites/{id} DELETE /admin/invites/{id} GET /admin/teams POST /admin/teams GET /admin/teams/{id} PUT /admin/teams/{id} DELETE /admin/teams/{id} GET /admin/teams/{id}/users DELETE /admin/teams/{id}/users/{user_id} PUT /admin/teams/{id}/users/{user_id} GET /admin/users/{id}/history GET /admin/transactions POST /admin/transactions GET /admin/transactions/{id} GET /admin/content POST /admin/content GET /admin/content/{key} PUT /admin/content/{key} DELETE /admin/content/{key} GET /admin/taxonomies/{key} PUT /admin/taxonomies/{key} DELETE /admin/taxonomies/{key} DELETE /admin/terms/{key} GET /admin/plans POST /admin/plans GET /admin/plans/{id} DELETE /admin/plans/{id} PUT /admin/plans/{id} GET /admin/subscriptions POST /admin/subscriptions PUT /admin/subscriptions/{id} DELETE /admin/subscriptions/{id} GET /admin/bundles POST /admin/bundles GET /admin/bundles/{id} DELETE /admin/bundles/{id} PUT /admin/bundles/{id} GET /admin/analytics GET /admin/content-types GET /admin/content-types/{id} GET /admin/events GET /admin/events/handlers POST /admin/events/handlers DELETE /admin/events/handlers/{id}
</aside>
Request for getting user token. Login and password match Wallkit user with “user | admin” access privilege. jsSDK: Wallkit.login(object)
Object:
{
"email": "string",
"password": "string"
}
Responses:
Success
{
"id": 0,
"email": "string",
"first_name": "string",
"last_name": "string",
"active": true,
"confirm": true,
"country": "string",
"state": "string",
"city": "string",
"company": "string",
"job": "string",
"zip": "string",
"phone": "string",
"extra": [
"string"
],
"ip": "string",
"locked": false,
"can_own_teams": false,
"last_activity_date": "2022-06-17T10:43:44.083Z",
"online": true,
"photos": {
"image_100": "string",
"image_300": "string",
"image_600": "string"
},
"subscriptions": [
{
"id": 0,
"title": "string",
"description": "string",
"subscriber_type": "string",
"price": 0,
"currency": "string",
"period": "string",
"public": true,
"next_subscription": {
"id": 0,
"title": "string",
"description": "string",
"subscriber_type": "string",
"price": 0,
"currency": "string",
"period": "string",
"plan": {
"id": 0,
"title": "string",
"description": "string",
"slug": "string",
"full_access": true,
"priority": 0,
"can_own_teams": true
}
},
"plan": {
"id": 0,
"title": "string",
"description": "string",
"slug": "string",
"full_access": true,
"priority": 0,
"can_own_teams": true
},
"subscription_end_date": "string",
"subscription_start_date": "string",
"subscription_updated_date": "string",
"autorenew": true,
"is_team_subscription": true
}
],
"teams": [
{
"id": 0,
"name": "string",
"description": "string",
"owner": {
"id": 0,
"email": "string",
"role": "string",
"first_name": "string",
"last_name": "string",
"country": "string",
"state": "string",
"city": "string",
"job": "string",
"zip": 0,
"phone": "string",
"photos": {
"image_100": "string",
"image_300": "string",
"image_600": "string"
}
},
"active": true,
"type": "string",
"users_count": 0,
"invites_count": 0,
"role": "string",
"status": "string"
}
],
"created_at": "string",
"updated_at": "string",
"token": "string",
"expires": "string",
"refresh_token": "string"
}
Failure
{
"error": "string",
"error_description": "string"
}