Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v72
  • v74
  • v73
  • v72
Login
  • User API documentation
  • API interaction
  • Matching
  • Profiles
  • Databases
  • Resources
    • Get resource statistics
    • Update statistics on resource
    • Get resources list
    • Get resource information
    • Get resource subscription fields
  • Segments
  • Static segments
  • Suppression lists
  • Templates and fragments
  • Campaigns
  • Automation scenarios
  • Promo codes
  • Goals
  • Application push notifications
  • Market
  • Analytic reports
  • SendersDevv71
  • External datatables queries
  • Objects
  • Miscellaneous
  • Importing the API collection in Postman
  • List of API endpoints
  • SDK
This is documentation for Altcraft Platform v72. This documentation is no longer maintained.
The information for up-to-date platform version at this page is available (v74).
  • Resources
  • Get resource information
Documentation for version v72

Get resource information

Description​

Retrieves detailed information about a single resource, including channels and associated databases.

Request URL​

Method: POST

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

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format.
By default – json
idint1YesResource ID

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": {
"channels": ["email", "push"],
"dbs_ids": [1],
"id": 1,
"name": "Resource",
"trk_domain": "tracking.example.com",
"url": "https://blog.example:8080"
},
"error": 0,
"error_text": "Successful operation"
}
<?xml version="1.0" encoding="UTF-8" ?>
<xml>
<data>
<channels>email</channels>
<channels>push</channels>
<dbs_ids>1</dbs_ids>
<id>1</id>
<name>Resource</name>
<trk_domain>tracking.example.com</trk_domain>
<url>https://blog.example:8080</url>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
channelJSON arrayEnabled channels
dbs_idsJSON arrayAssociated databases
idintResource ID
namestringResource name
trk_domainstringSubscribers actions tracking domain
urlstringResource URL
Last updated on Apr 22, 2023
Previous
Get resources list
Next
Get resource subscription fields
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.