Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v75
Login
  • User API documentation
  • API interaction
  • Matching
  • Profiles
  • Databases
  • Resources
  • Segments
    • Get statistics on resource
    • Update statistics on segment
    • Add or remove profile
    • Get profile data in a static segment
    • Create segment
    • Update segment
    • Get segment information
    • Get segments list
    • Delete segment
  • 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
  • Segments
  • Get profile data in a static segment
Documentation for version v75

Get profile data in a static or updatable segment

Description​

Get the data of profiles that are in a static or updatable segment, page by page.

Request URL​

Method: POST

https://example.com/api/v1.1/profiles/segstatic/list

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format
By default – json
idint1YesStatic segment ID
from_idstring"abcdefghijklmnqrstuvwxyz"NoID of the first profile to upload
from_dbint1Yes for from_idID of the database of the first profile
countint20NoNumber of records per page
fields[string]["custom_field_1"]NoList of fields to extract from the profile.
If empty — no fields are retrieved.

Request example​

  • JSON
  • XML
{    
"token": "abcdefghijklmnqrstuvwxyz",
"id": 13,
"from_id": "abcdefghijklmnqrstuvwxyz",
"from_db": 3,
"count": 25,
"fields": [email]
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<id>33</id>
<from_id>abcdefghijklmnqrstuvwxyz</from_id>
<from_db>75</from_db>
<count>25</count>
<fields array="true">email</fields>
</xml>

Response example​

  • JSON
  • XML
{
"next_id": 26,
"data": [ {
"profile_id": "abcdefghijklmnqrstuvwxyz",
"db_id": 3,
"xxh": "abcdefghijklmxyz",
"captured": "ISODateString",
"profile": {profile Object}
}
]}
<xml>
<next_id>26</next_id>
<data>
<profile_id>abcdefghijklmnqrstuvwxyz</profile_id>
<db_id>3</db_id>
<xxh>abcdefghijklmxyz</xxh>
<captured>ISODateString</captured>
<profile></profile>
</data>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
next_idintNext profile in the request
dataJSON objectCustomer profile fields
Last updated on Jan 12, 2026
Previous
Add or remove profile
Next
Create segment
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.