WhatsApp Templates

Compare two templates

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

Request

  • Base URL
    https://provisioning.api.sinch.com
  • URL
    https://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp/templates/{templateName}/languages/{languageCode}/compare
  • Auth
    HTTP basic and HTTP bearer and OAuth 2
    Client credentials
    Token URL: https://auth.sinch.com/oauth2/token

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

    • breaking

      added to the request property allOf list

    • breaking

      added to the // request property allOf list

    • breaking

      removed the enum value 30 of the request property

    • breaking

      removed the enum value 60 of the request property

    • breaking

      removed the enum value 7 of the request property

    • breaking

      removed the enum value 90 of the request property

    • breaking

      removed the enum value AF of the request property //

    • breaking

      removed the enum value AR of the request property //

    • breaking

      removed the enum value AZ of the request property //

    • breaking

      removed the enum value BG of the request property //

    • breaking

      removed the enum value BN of the request property //

    • breaking

      removed the enum value CA of the request property //

    • breaking

      removed the enum value CS of the request property //

    • breaking

      removed the enum value DA of the request property //

    • breaking

      removed the enum value DE of the request property //

    • breaking

      removed the enum value EL of the request property //

    • breaking

      removed the enum value EN of the request property //

    • breaking

      removed the enum value EN_GB of the request property //

    • breaking

      removed the enum value EN_US of the request property //

    • breaking

      removed the enum value ES of the request property //

    • breaking

      removed the enum value ES_AR of the request property //

    • breaking

      removed the enum value ES_ES of the request property //

    • breaking

      removed the enum value ES_MX of the request property //

    • breaking

      removed the enum value ES_UY of the request property //

    • breaking

      removed the enum value ET of the request property //

    • breaking

      removed the enum value FA of the request property //

    • breaking

      removed the enum value FI of the request property //

    • breaking

      removed the enum value FIL of the request property //

    • breaking

      removed the enum value FR of the request property //

    • breaking

      removed the enum value GA of the request property //

    • breaking

      removed the enum value GU of the request property //

    • breaking

      removed the enum value HA of the request property //

    • breaking

      removed the enum value HE of the request property //

    • breaking

      removed the enum value HI of the request property //

    • breaking

      removed the enum value HR of the request property //

    • breaking

      removed the enum value HU of the request property //

    • breaking

      removed the enum value ID of the request property //

    • breaking

      removed the enum value IT of the request property //

    • breaking

      removed the enum value JA of the request property //

    • breaking

      removed the enum value KA of the request property //

    • breaking

      removed the enum value KK of the request property //

    • breaking

      removed the enum value KN of the request property //

    • breaking

      removed the enum value KO of the request property //

    • breaking

      removed the enum value KY_KG of the request property //

    • breaking

      removed the enum value LO of the request property //

    • breaking

      removed the enum value LT of the request property //

    • breaking

      removed the enum value LV of the request property //

    • breaking

      removed the enum value MK of the request property //

    • breaking

      removed the enum value ML of the request property //

    • breaking

      removed the enum value MR of the request property //

    • breaking

      removed the enum value MS of the request property //

    • breaking

      removed the enum value NB of the request property //

    • breaking

      removed the enum value NL of the request property //

    • breaking

      removed the enum value PA of the request property //

    • breaking

      removed the enum value PL of the request property //

    • breaking

      removed the enum value PT_BR of the request property //

    • breaking

      removed the enum value PT_PT of the request property //

    • breaking

      removed the enum value RO of the request property //

    • breaking

      removed the enum value RU of the request property //

    • breaking

      removed the enum value RW_RW of the request property //

    • breaking

      removed the enum value SK of the request property //

    • breaking

      removed the enum value SL of the request property //

    • breaking

      removed the enum value SQ of the request property //

    • breaking

      removed the enum value SR of the request property //

    • breaking

      removed the enum value SV of the request property //

    • breaking

      removed the enum value SW of the request property //

    • breaking

      removed the enum value TA of the request property //

    • breaking

      removed the enum value TE of the request property //

    • breaking

      removed the enum value TH of the request property //

    • breaking

      removed the enum value TR of the request property //

    • breaking

      removed the enum value UK of the request property //

    • breaking

      removed the enum value UNRECOGNIZED of the request property //

    • breaking

      removed the enum value UR of the request property //

    • breaking

      removed the enum value UZ of the request property //

    • breaking

      removed the enum value VI of the request property //

    • breaking

      removed the enum value ZH_CN of the request property //

    • breaking

      removed the enum value ZH_HK of the request property //

    • breaking

      removed the enum value ZH_TW of the request property //

    • breaking

      removed the enum value ZU of the request property //

    • breaking

      the // request property type changed from string to no type

    • breaking

      the request property type changed from string to no type

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • info

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

    • info

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

    • info

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

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added to the // response property allOf list for the response status

    • info

      added to the // response property allOf list for the response status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      removed the AF enum value from the // response property for the response status

    • info

      removed the AR enum value from the // response property for the response status

    • info

      removed the AZ enum value from the // response property for the response status

    • info

      removed the BG enum value from the // response property for the response status

    • info

      removed the BN enum value from the // response property for the response status

    • info

      removed the CA enum value from the // response property for the response status

    • info

      removed the CS enum value from the // response property for the response status

    • info

      removed the DA enum value from the // response property for the response status

    • info

      removed the DE enum value from the // response property for the response status

    • info

      removed the EL enum value from the // response property for the response status

    • info

      removed the EN enum value from the // response property for the response status

    • info

      removed the EN_GB enum value from the // response property for the response status

    • info

      removed the EN_US enum value from the // response property for the response status

    • info

      removed the ES enum value from the // response property for the response status

    • info

      removed the ES_AR enum value from the // response property for the response status

    • info

      removed the ES_ES enum value from the // response property for the response status

    • info

      removed the ES_MX enum value from the // response property for the response status

    • info

      removed the ES_UY enum value from the // response property for the response status

    • info

      removed the ET enum value from the // response property for the response status

    • info

      removed the FA enum value from the // response property for the response status

    • info

      removed the FI enum value from the // response property for the response status

    • info

      removed the FIL enum value from the // response property for the response status

    • info

      removed the FR enum value from the // response property for the response status

    • info

      removed the GA enum value from the // response property for the response status

    • info

      removed the GU enum value from the // response property for the response status

    • info

      removed the HA enum value from the // response property for the response status

    • info

      removed the HE enum value from the // response property for the response status

    • info

      removed the HI enum value from the // response property for the response status

    • info

      removed the HR enum value from the // response property for the response status

    • info

      removed the HU enum value from the // response property for the response status

    • info

      removed the ID enum value from the // response property for the response status

    • info

      removed the IT enum value from the // response property for the response status

    • info

      removed the JA enum value from the // response property for the response status

    • info

      removed the KA enum value from the // response property for the response status

    • info

      removed the KK enum value from the // response property for the response status

    • info

      removed the KN enum value from the // response property for the response status

    • info

      removed the KO enum value from the // response property for the response status

    • info

      removed the KY_KG enum value from the // response property for the response status

    • info

      removed the LO enum value from the // response property for the response status

    • info

      removed the LT enum value from the // response property for the response status

    • info

      removed the LV enum value from the // response property for the response status

    • info

      removed the MK enum value from the // response property for the response status

    • info

      removed the ML enum value from the // response property for the response status

    • info

      removed the MR enum value from the // response property for the response status

    • info

      removed the MS enum value from the // response property for the response status

    • info

      removed the NB enum value from the // response property for the response status

    • info

      removed the NL enum value from the // response property for the response status

    • info

      removed the NO_LONGER_NEEDED enum value from the // response property for the response status

    • info

      removed the NO_REASON enum value from the // response property for the response status

    • info

      removed the NO_REASON_GIVEN enum value from the // response property for the response status

    • info

      removed the NO_SIGN_UP enum value from the // response property for the response status

    • info

      removed the OFFENSIVE_MESSAGES enum value from the // response property for the response status

    • info

      removed the OTHER enum value from the // response property for the response status

    • info

      removed the OTP_DID_NOT_REQUEST enum value from the // response property for the response status

    • info

      removed the PA enum value from the // response property for the response status

    • info

      removed the PL enum value from the // response property for the response status

    • info

      removed the PT_BR enum value from the // response property for the response status

    • info

      removed the PT_PT enum value from the // response property for the response status

    • info

      removed the RO enum value from the // response property for the response status

    • info

      removed the RU enum value from the // response property for the response status

    • info

      removed the RW_RW enum value from the // response property for the response status

    • info

      removed the SK enum value from the // response property for the response status

    • info

      removed the SL enum value from the // response property for the response status

    • info

      removed the SPAM enum value from the // response property for the response status

    • info

      removed the SQ enum value from the // response property for the response status

    • info

      removed the SR enum value from the // response property for the response status

    • info

      removed the SV enum value from the // response property for the response status

    • info

      removed the SW enum value from the // response property for the response status

    • info

      removed the TA enum value from the // response property for the response status

    • info

      removed the TE enum value from the // response property for the response status

    • info

      removed the TH enum value from the // response property for the response status

    • info

      removed the TR enum value from the // response property for the response status

    • info

      removed the UK enum value from the // response property for the response status

    • info

      removed the UNKNOWN_BLOCK_REASON enum value from the // response property for the response status

    • info

      removed the UNRECOGNIZED enum value from the // response property for the response status

    • info

      removed the UNRECOGNIZED enum value from the // response property for the response status

    • info

      removed the UR enum value from the // response property for the response status

    • info

      removed the UZ enum value from the // response property for the response status

    • info

      removed the VI enum value from the // response property for the response status

    • info

      removed the ZH_CN enum value from the // response property for the response status

    • info

      removed the ZH_HK enum value from the // response property for the response status

    • info

      removed the ZH_TW enum value from the // response property for the response status

    • info

      removed the ZU enum value from the // response property for the response status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      api operation id TemplatesController_compareTemplates_v1 removed and replaced with WhatsappTemplatesController_compareTemplates_v1