MANAGEMENT
The management API is used to manage all the aspects of your account. It allows you to create, modify and delete clients, accounts, users and access levels. For using this API you need to use your API key that have MANAGEMENT
permission.
Questions?
Don't let uncertainty hold you back. Ask us anything and get the answers you need to take your business to the next level.
LET'S TALKCLIENTS:
Manage the company information from here, like changing the webhook url where we ll notify that some event happened or just changing the name of the company. Just like that.
Example
Change webhook url
curl -X PATCH https://api.cryptomate.me/management/clients/webhook-url -H 'x-api-key: 1234567890' -H 'Content-Type: application/json' -d '{"webhook_url": "https://mynewwebhookurl.com"}'
Get clients information
Retrieves all the information of the company.
Parameters
- Name
- x-api-key
- Type
- string
- Description
Identifier used to authenticate a user for the use of the CryptoMate APIs.
/management/clients
Response
{
"name": "string",
"last_name": "string",
"email": "string",
"social_reason": "string",
"webhook_url": "string",
}
/management/clients/webhook-url
Response
{
"name": "string",
"email": "string",
"webhook_url": "string"
}
/management/clients
Response
{
"name": "string",
"email": "string",
"webhook_url": "string"
}
OPERATIONS:
Get all the operations available in the platform. You can use this information to create new credentials for your clients.
Example
Get all operations
curl -X GET https://api.cryptomate.me/management/operations/list -H 'x-api-key: 1234567890'
Get all operations
Returns all the operations available in the platform.
Parameters
- Name
- x-api-key
- Type
- string
- Description
Identifier used to authenticate a user for the use of the CryptoMate APIs.
/management/operations/list
Response
[
{
"id": "string",
"description": "string"
}
]
/management/operations/:operation-id
Response
{
"id": "string",
"description": "string"
}
BLOCKCHAINS:
Get all the blockchains available in the platform. You can use this information to create new credentials for your clients or using every other endpoints that ask for the blockchain where you want to operate.
Example
Get all blockchains
curl -X GET https://api.cryptomate.me/management/blockchains/list -H 'x-api-key: 1234567890'
Get all blockchains
Returns all the blockchains available in the platform.
Parameters
- Name
- x-api-key
- Type
- string
- Description
Identifier used to authenticate a user for the use of the CryptoMate APIs.
/management/blockchains/list
Response
[
{
"id": "string",
"description": "string"
}
]
API-KEYS:
Manage the api-keys of your clients. You can create, modify and delete them. This api-keys are used to authenticate the clients in the platform.
Example
Create a new API-Key
curl -X POST https://api.cryptomate.me/management/keys -H 'x-api-key: 1234567890' -H "Content-Type: application/json" -d '{"name": "mynewapikey"}'
Get all keys
Obtains all of the client API-Keys.
Parameters
- Name
- x-api-key
- Type
- string
- Description
Identifier used to authenticate a user for the use of the CryptoMate APIs.
/management/keys/list
Response
[
{
"api_key": "string",
"name": "string"
}
]
/management/keys/:key-id
Response
{
"api_key": "string",
"name": "string"
}
/management/keys
Response
{
"api_key": "string",
"name": "string"
}
/management/keys/:api-key
Response
{
"api_key": "string",
"name": "string"
}
/management/keys/:api-key
Response
None
CREDENTIALS:
Manage the access you give to each key and the permissions you will have for each blockchain, such as only receiving transactions or only accessing one of the blockchains
Example
Create a credential
curl -X POST https://api.cryptomate.me/management/credentials -H 'x-api-key: 1234567890' -H 'Content-Type: application/json' -d '{"api-key": "string", "operation_id": "string", "blockchain_id": "string"}'
/management/credentials/api-key/:api-key
Response
{
"id": "string",
"key": {
"api_key": "string",
"name": "string"
},
"operation": {
"id": "string",
"description": "string"
}
}
/management/credentials/:credential-id
Response
{
"id": "string",
"key": {
"api_key": "string",
"name": "string"
},
"operation": {
"id": "string",
"description": "string"
}
}
/management/credentials
Response
{
"id": "string",
"key": {
"api_key": "string",
"name": "string"
},
"operation": {
"id": "string",
"description": "string"
}
}
/management/credentials/:credential-id
Response
{
"id": "string",
"key": {
"api_key": "string",
"name": "string"
},
"operation": {
"id": "string",
"description": "string"
}
}
/management/credentials/:credential-id
Response
None