WhatsApp Templates

Compare two templates

Compare two templates.
post/v1/projects/{projectId}/whatsapp/templates/{templateName}/languages/{languageCode}/compare

Path parameters

projectIdstring required

The unique ID of the project. You can find this on the <a href="https://dashboard.sinch.com/">Sinch Dashboard</a>.

templateNamestring required

The unique name of the template.

languageCode'AF' | 'AR' | 'AZ' | 'BG' | 'BN' | 'CA' | 'CS' | 'DA' | 'DE' | 'EL' | 'EN' | 'EN_GB' | 'EN_US' | 'ES' | 'ES_AR' | 'ES_ES' | 'ES_MX' | 'ES_UY' | 'ET' | 'FA' | 'FI' | 'FIL' | 'FR' | 'GA' | 'GU' | 'HA' | 'HE' | 'HI' | 'HR' | 'HU' | 'ID' | 'IT' | 'JA' | 'KA' | 'KK' | 'KN' | 'KO' | 'KY_KG' | 'LO' | 'LT' | 'LV' | 'MK' | 'ML' | 'MR' | 'MS' | 'NB' | 'NL' | 'PA' | 'PL' | 'PT_BR' | 'PT_PT' | 'RO' | 'RU' | 'RW_RW' | 'SK' | 'SL' | 'SQ' | 'SR' | 'SV' | 'SW' | 'TA' | 'TE' | 'TH' | 'TR' | 'UK' | 'UR' | 'UZ' | 'VI' | 'ZH_CN' | 'ZH_HK' | 'ZH_TW' | 'ZU' | 'UNRECOGNIZED' required

The language code of the specific template.

Request body

timeframe'30' | '60' | '7' | '90'

Timeframes are limited to 7, 30, 60 and 90 day lookbacks from the time of the request

endTimestampnumber

End of timeframe (default: now)

Response

Compared template response

Changes

Changed in 2 of the 4 revisions of this API.88109

  • c6a937922d1088108See the full diff
    • added WhatsappInputTemplateCompareTimeframesEnum to the timeframe request property allOf list

      request-property-all-of-added

    • added WhatsappTemplateLanguagesEnum to the templates/items/templateLanguage request property allOf list

      request-property-all-of-added

    • removed the enum value 30 of the request property timeframe

      request-property-enum-value-removed

    • removed the enum value 60 of the request property timeframe

      request-property-enum-value-removed

    • removed the enum value 7 of the request property timeframe

      request-property-enum-value-removed

    • removed the enum value 90 of the request property timeframe

      request-property-enum-value-removed

    • removed the enum value AF of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value AR of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value AZ of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value BG of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value BN of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value CA of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value CS of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value DA of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value DE of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value EL of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value EN of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value EN_GB of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value EN_US of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value ES of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value ES_AR of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value ES_ES of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value ES_MX of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value ES_UY of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value ET of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value FA of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value FI of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value FIL of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value FR of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value GA of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value GU of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value HA of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value HE of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value HI of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value HR of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value HU of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value ID of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value IT of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value JA of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value KA of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value KK of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value KN of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value KO of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value KY_KG of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value LO of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value LT of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value LV of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value MK of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value ML of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value MR of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value MS of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value NB of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value NL of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value PA of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value PL of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value PT_BR of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value PT_PT of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value RO of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value RU of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value RW_RW of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value SK of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value SL of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value SQ of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value SR of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value SV of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value SW of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value TA of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value TE of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value TH of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value TR of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value UK of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value UNRECOGNIZED of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value UR of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value UZ of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value VI of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value ZH_CN of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value ZH_HK of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value ZH_TW of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • removed the enum value ZU of the request property templates/items/templateLanguage

      request-property-enum-value-removed

    • the templates/items/templateLanguage request property type/format changed from string/ to /

      request-property-type-changed

    • the timeframe request property type/format changed from string/ to /

      request-property-type-changed

    • the response's body type/format changed from / to object/ for status 400

      response-body-type-changed

    • the response's body type/format changed from / to object/ for status 401

      response-body-type-changed

    • the response's body type/format changed from / to object/ for status 404

      response-body-type-changed

    • the response's body type/format changed from / to object/ for status 409

      response-body-type-changed

    • the response's body type/format changed from / to object/ for status 500

      response-body-type-changed

    • the templates/items/language response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • the templates/items/topBlockReason response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • removed subschema #1: InvalidInputErrorTitle subschema #2: ProjectNotInitializedErrorTitle subschema #3: TemplateInvalidLanguageCodeErrorTitle subschema #4: InvalidPayloadErrorTitle from the response body oneOf list for the response status 400

      response-body-one-of-removed

    • removed subschema #1: ResourceLockedErrorTitle subschema #2: TemplatesNotEligibleForComparisonErrorTitle subschema #3: TemplatesCompareNotUniqueErrorTitle from the response body oneOf list for the response status 409

      response-body-one-of-removed

    • removed subschema #1: TemplateNotFoundErrorTitle subschema #2: TemplatesCompareNotFoundErrorTitle from the response body oneOf list for the response status 404

      response-body-one-of-removed

    • added the optional property additionalInformation to the response with the 400 status

      response-optional-property-added

    • added the optional property additionalInformation to the response with the 401 status

      response-optional-property-added

    • added the optional property additionalInformation to the response with the 404 status

      response-optional-property-added

    • added the optional property additionalInformation to the response with the 409 status

      response-optional-property-added

    • added the optional property additionalInformation to the response with the 500 status

      response-optional-property-added

    • added WhatsappTemplateCompareBlockReasonsEnum to the templates/items/topBlockReason response property allOf list for the response status 200

      response-property-all-of-added

    • added WhatsappTemplateLanguagesEnum to the templates/items/language response property allOf list for the response status 200

      response-property-all-of-added

    • the response property errorCode became required for the status 401

      response-property-became-required

    • the response property errorCode became required for the status 500

      response-property-became-required

    • the response property message became required for the status 401

      response-property-became-required

    • the response property message became required for the status 500

      response-property-became-required

    • the response property resolution became required for the status 401

      response-property-became-required

    • the response property resolution became required for the status 500

      response-property-became-required

    • removed the AF enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the AR enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the AZ enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the BG enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the BN enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the CA enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the CS enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the DA enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the DE enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the EL enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the EN enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the EN_GB enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the EN_US enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the ES enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the ES_AR enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the ES_ES enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the ES_MX enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the ES_UY enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the ET enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the FA enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the FI enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the FIL enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the FR enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the GA enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the GU enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the HA enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the HE enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the HI enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the HR enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the HU enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the ID enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the IT enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the JA enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the KA enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the KK enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the KN enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the KO enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the KY_KG enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the LO enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the LT enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the LV enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the MK enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the ML enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the MR enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the MS enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the NB enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the NL enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the NO_LONGER_NEEDED enum value from the templates/items/topBlockReason response property for the response status 200

      response-property-enum-value-removed

    • removed the NO_REASON enum value from the templates/items/topBlockReason response property for the response status 200

      response-property-enum-value-removed

    • removed the NO_REASON_GIVEN enum value from the templates/items/topBlockReason response property for the response status 200

      response-property-enum-value-removed

    • removed the NO_SIGN_UP enum value from the templates/items/topBlockReason response property for the response status 200

      response-property-enum-value-removed

    • removed the OFFENSIVE_MESSAGES enum value from the templates/items/topBlockReason response property for the response status 200

      response-property-enum-value-removed

    • removed the OTHER enum value from the templates/items/topBlockReason response property for the response status 200

      response-property-enum-value-removed

    • removed the OTP_DID_NOT_REQUEST enum value from the templates/items/topBlockReason response property for the response status 200

      response-property-enum-value-removed

    • removed the PA enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the PL enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the PT_BR enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the PT_PT enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the RO enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the RU enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the RW_RW enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the SK enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the SL enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the SPAM enum value from the templates/items/topBlockReason response property for the response status 200

      response-property-enum-value-removed

    • removed the SQ enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the SR enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the SV enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the SW enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the TA enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the TE enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the TH enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the TR enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the UK enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the UNKNOWN_BLOCK_REASON enum value from the templates/items/topBlockReason response property for the response status 200

      response-property-enum-value-removed

    • removed the UNRECOGNIZED enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the UNRECOGNIZED enum value from the templates/items/topBlockReason response property for the response status 200

      response-property-enum-value-removed

    • removed the UR enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the UZ enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the VI enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the ZH_CN enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the ZH_HK enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the ZH_TW enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • removed the ZU enum value from the templates/items/language response property for the response status 200

      response-property-enum-value-removed

    • added the required property errorCode to the response with the 400 status

      response-required-property-added

    • added the required property errorCode to the response with the 404 status

      response-required-property-added

    • added the required property errorCode to the response with the 409 status

      response-required-property-added

    • added the required property message to the response with the 400 status

      response-required-property-added

    • added the required property message to the response with the 404 status

      response-required-property-added

    • added the required property message to the response with the 409 status

      response-required-property-added

    • added the required property resolution to the response with the 400 status

      response-required-property-added

    • added the required property resolution to the response with the 404 status

      response-required-property-added

    • added the required property resolution to the response with the 409 status

      response-required-property-added

    • api operation id TemplatesController_compareTemplates_v1 removed and replaced with WhatsappTemplatesController_compareTemplates_v1

      api-operation-id-removed

Of the 4 revisions, 1 has no diff computed.