Introducing user language via the API
July 14th, 2022
You can now query for a user's language via the API!
A user's language can be obtained with a query like this:
query {
users (ids: [123456789]) {
name
current_language
}
}
You can expect a response like this from the query above:
{
"data": {
"users": [
{
"name": "John Appleseed",
"current_language": "en"
}
]
},
"account_id": 123456789
}
Happy building!