TextMaster's Developer Documentation
HomeApp
  • Welcome!
  • Quick Start
    • Postman
    • OpenAPI
  • Overview
    • Resources in the REST API
    • Authentication
    • Troubleshooting
    • Filters
    • Workflow
    • File uploads
    • Loop
  • Guides
    • Integrator best practices
  • Apps
    • About OAuth Apps
    • Building OAuth Apps
      • Creating an OAuth App
      • Authorizing OAuth Apps
      • Scopes for OAuth Apps
    • Managing OAuth Apps
      • Modifying an OAuth App
      • Deleting an OAuth App
  • Webhooks & Events
    • Webhooks
      • Creating webhooks
      • Configuring your server for webhooks
      • Securing webhooks
      • Troubleshooting webhooks
    • Events
  • Integrations
    • Akeneo
      • Getting Started
      • Configuration
      • Usage
      • Monitoring
      • Troubleshooting
    • Salesforce Commerce Cloud
      • Getting Started
      • Configuration
      • Usage
      • Monitoring
      • Troubleshooting
  • Reference
    • Abilities
    • Authors
    • Documents
    • Categories
    • Countries
    • Expertises
    • Glossaries
    • Languages
    • Levels
    • Locales
    • Preferred Authors
    • Projects
    • Project Templates
    • Negotiated Contracts
    • Support Messages
    • Transactions
    • Uploads
    • Users
    • Work Templates
Powered by GitBook
On this page

Was this helpful?

  1. Reference

Countries

PreviousCategoriesNextExpertises

Last updated 1 year ago

Was this helpful?

List countries

Public endpoint to list all available countries supported by TextMaster.

Code samples

curl -G "https://api.textmaster.com/v1/public/countries" \
  --data-urlencode 'locale=en-US'

For a list of supported locales, see:

Locales

List Countries

get
Query parameters
localestringRequired

Locale name. Full list available via the List Locales endpoint.

Responses
200
Lists countries
application/json
get
GET /v1/public/countries HTTP/1.1
Host: api.textmaster.com
Accept: */*
200

Lists countries

[
  {
    "id": "AD",
    "name": "Andorra"
  },
  {
    "id": "AE",
    "name": "United Arab Emirates"
  },
  {
    "id": "AF",
    "name": "Afghanistan"
  },
  {
    "id": "AG",
    "name": "Antigua And Barbuda"
  },
  {
    "id": "AI",
    "name": "Anguilla"
  }
]
  • List countries
  • GETList Countries