Logo
Admin API API Documentation

MPs API-(NEW v1.33.0) Accounts API

Number of APIs: 4


1. Get Accounts

GET {{URL_ORIGIN}}/api/accounts

This API allows to get a list of all MPs with their details.



2. Get Account

GET {{URL_ORIGIN}}/api/accounts/:id

This API allows to get a list of all MPs with their details.



3. Update Account

PUT {{URL_ORIGIN}}/api/accounts/:id

This API allows to create a new MP.

ID will be returned in the response, this ID is the unique identifier of the MP and should be used when sending update commands.

Note: this ID can be retrieved via Get MPs API.

Create MP- Error Codes

Code Message
1 System is unavailable
100 Missing or invalid parameter: [FieldName]
102 [FieldName] already exists
10001 Permission denied



4. Create Account

POST {{URL_ORIGIN}}/api/accounts

This API allows to create a new MP.

ID will be returned in the response, this ID is the unique identifier of the MP and should be used when sending update commands.

Note: this ID can be retrieved via Get MPs API.

Create MP- Error Codes

Code Message
1 System is unavailable
100 Missing or invalid parameter: [FieldName]
102 [FieldName] already exists
10001 Permission denied



ENDPOINTS