Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v74
  • v74
  • v73
  • v72
Login
  • User API documentation
  • API interaction
  • Matching
  • Profiles
  • Databases
    • Get database statistics
    • Update statistics on database
    • Get database list
    • Get database information
    • Get database fields
    • Database wipe
  • Resources
  • Segments
  • Suppression lists
  • Templates and fragments
  • Campaigns
  • Mailings
  • Automation scenarios
  • Loyalty Programs
  • Promo codes
  • Goals
  • Application push notifications
  • Market
  • Analytic reports
  • SendersDev
  • External datatables queries
  • Objects
  • Miscellaneous
  • Importing the API collection in Postman
  • List of API endpoints
  • SDK
  • Databases
  • Get database information
Documentation for version v74

Get database information

Description​

Retrieves a database information.

Request URL​

Method: POST

https://example.com/api/v1.1/databases/get/

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
idint1YesDatabase ID
formatint"json"NoResponse data format
By default – json

Request example​

  • JSON
  • XML
{
"id": 1,
"token": "abcdefghijklmnqrstuvwxyz"
}
<?xml version="1.0" encoding="UTF-8" ?>
<xml>
<id>1</id>
<token>abcdefghijklmnqrstuvwxyz</token>
</xml>

Response example​

  • JSON
  • XML
{
"data": {
"id": 1,
"name": "B2C customers",
"suppress_id": 1,
"description": "May contain info"
},
"error": 0,
"error_text": "Successful operation"
}
<?xml version="1.0" encoding="UTF-8" ?>
<xml>
<data>
<id>1</id>
<name>B2C customers</name>
<suppress_id>1</suppress_id>
<description>May contain info</description>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
idintDatabase ID
namestringDatabase name
suppress_idintAssociated suppression list ID
descriptionstringDatabase description
Last updated on Oct 19, 2022
Previous
Get database list
Next
Get database fields
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.