Matchai Docs

Get a listing’s translationComing soon

Returns the listing’s text in one language, field by field, with whether each was translated automatically or written by hand, and whether the original…

Coming soon. This is documented ahead of launch so you can plan your integration; it is not available yet.
GET
/listings/{listing_id}/translations/{locale}

Coming soon. Returns the listing’s text in one language, field by field, with whether each was translated automatically or written by hand, and whether the original changed since.

Scopes: listings:read

Pricing: Included with the connection.

Authorization

headerAuthorizationBearer <matchai_<base62>>

A personal API key, sent as Authorization: Bearer matchai_…. Create keys in Matchai under Settings → Connectors → Advanced (for developers). A key starts with matchai_ followed by letters and digits, carries the scopes chosen when it was created, and can be revoked at any time. Keys reach only the account that created them: to serve other professionals, use Connect with Matchai.

Scope: listings:read

Path Parameters

listing_id*string

Listing id, or its slug.

Length1 <= length <= 200
locale*string

Language.

Value in"en-US""fr-CA""es"

Response Body

The translation.

application/json
  1. response
listing_id*string

Listing id.

Length1 <= length <= 64
locale*Locale

A language Matchai publishes in: English (en-US), Québec French (fr-CA) or Spanish (es).

Value in"en-US""fr-CA""es"
source_locale*Locale

A language Matchai publishes in: English (en-US), Québec French (fr-CA) or Spanish (es).

Value in"en-US""fr-CA""es"
fields*array<>

Translated fields. A field that was never translated is absent.

Example Request
curl -X GET 'https://api.matchai.co/v1/listings/string/translations/en-US'
Example Response
{  "listing_id": "string",  "locale": "en-US",  "source_locale": "en-US",  "fields": [    {      "field": "title",      "value": "string",      "status": "automatic",      "stale": true,      "updated_at": "2019-08-24T14:15:22Z"    }  ]}