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
  • 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
    • Upload file
    • Get message web version
    • Push providers
    • Deduplication of requests
    • How to send API request with RabbitMQ
    • List of gender identifications
    • Obtain valid values for fields: browsers, devices, tz, oses, languages
  • Importing the API collection in Postman
  • List of API endpoints
  • SDK
  • Miscellaneous
  • Obtain valid values for fields: browsers, devices, tz, oses, languages
Documentation for version v74

Obtain valid values for fields: browsers, devices, tz, oses, languages

Description​

The API method allows you to retrieve valid values for the following fields:

  • browser
  • device
  • tz
  • os
  • language

These fields are used in the following requests:

  • /v1.1/resources/fields_get (obtaining resource subscription fields)
  • /api/v1.1/goals/register (goals and goal values registration)

URL​

Method: POST

Request URL: https://example.com/api/v1.1/dictionary

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
namestring"browsers"
"devices"
"tz"
"oses"
"languages"
YesSpecify the name of the system field to retrieve the corresponding list of valid values.

Request example​

  • JSON
  • XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"name": "devices"
}
<xml>
<token>1</token>
<name>devices</name>
</xml>

Response example​

  • JSON
  • XML
{
"data": [
{
"title": "Desktop",
"value": "web"
},
{
"title": "Other",
"value": "other"
},
{
"title": "Mobile",
"value": "mob"
}
],
"error": 0,
"error_text": "Successful operation"
}
<xml>
<data>
<value>web</value>
<title>Desktop</title>
</data>
<data>
<value>other</value>
<title>Other</title>
</data>
<data>
<value>mob</value>
<title>Mobile</title>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>
Last updated on Oct 9, 2024
Previous
List of gender identifications
Next
Importing the API collection in Postman
  • Description
  • URL
  • Request parameters
  • Request example
  • Response example
© 2015 - 2025 Altcraft, LLC. All rights reserved.