Skip to content

이메일 템플릿에 대한 소스 번역 보기

get

/templates/email/translations/source

이 엔드포인트를 사용하여 이메일 템플릿에 대한 소스 번역을 볼 수 있습니다.

Prerequisites

이 엔드포인트를 사용하려면 templates.email.info 권한이 있는 API 키가 필요합니다.

사용량 제한

쿼리 매개변수

모든 번역 ID는 다국어 지원 설정이나 요청 응답에서 찾을 수 있는 UUID(범용 고유 식별자)로 간주된다는 점에 유의하세요.

예시 요청

1
2
3
curl --location --request GET 'https://rest.iad-03.braze.com/templates/email/translations/source' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR-REST-API-KEY'

응답

이 엔드포인트에 대한 상태 코드 응답은 200, 400, 404, 429 의 네 가지가 있습니다.

성공 응답의 예

200 상태 코드는 다음과 같은 응답 헤더와 본문을 반환할 수 있습니다.

1
2
3
4
5
6
7
8
9
10
11
Content-Type: application/json
Authorization: Bearer YOUR-REST-API-KEY
{
    "translations": {
        "translation_map": {
            "id_0": "Here's a limited time offer for your membership tier!",
            "id_1": "Welcome to a new fashion-forward season!"
        }
    },
    "message": "success"
}

오류 응답의 예

400 상태 코드는 다음과 같은 응답 본문을 반환할 수 있습니다. 발생할 수 있는 오류에 대한 자세한 내용은 문제 해결을 참조하세요.

1
2
3
4
5
6
7
{
    "errors": [
        {
            "message": "The provided locale code does not exist."
        }
    ]
}

문제 해결

다음 표에는 반환될 수 있는 오류와 관련 문제 해결 단계가 나와 있습니다.

이 페이지가 얼마나 도움이 되었나요?
New Stuff!