SweetConnect LogoSweetConnect
ApiDocuments

Get language by code

Get language by code

GET
/languages/{code}
AuthorizationBearer <token>

In: header

Path Parameters

code*string

The code of the language to retrieve

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://test.sweetconnect.io/api/core/languages/string"
{
  "data": {
    "code": "en",
    "translations": {
      "en": "English",
      "de": "Englisch"
    }
  },
  "meta": {
    "responseTime": 0
  }
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}