Start Template Migration

Starts copying approved templates from one number to another number of the same Meta business. The copy runs in the background; follow it with Get Template Migration Status.

Before you call

  • sourceWabaNumber and destinationWabaNumber are channel numbers of your organization, with the country code (a leading + is optional).
  • Both numbers must be connected, on different WhatsApp Business Accounts owned by the same Meta business, and on DoubleTick, ValueFirst or Tata.
  • The API key's user needs the Migrate Templates permission, access to the source number's templates and permission to create templates on the destination number. Otherwise the call fails with 403.
  • templates is optional: templates on the source number by name and language, for example the templates that failed in an earlier migration. Without it, every eligible template is copied. If any of them isn't on the source number, the call fails with 422 TEMPLATE_MIGRATION_TEMPLATES_NOT_FOUND listing them; ones that are there but can't be copied (not approved, low quality) are skipped.
  • Call Preview Template Migration first to see what will be copied.

How it works

  • Copies the eligible templates (see Preview Template Migration) that the destination doesn't already have, in batches. Meta reviews the copies again, so some may show as PENDING on the destination for a while.
  • Returns an operationId right away.
  • One migration runs per destination WhatsApp Business Account at a time; a second one fails with 409 until the first finishes.
  • When the copy finishes, the destination number's template list is refreshed, so the copies show up in Get Templates.

Limits

  • An organization can start 10 migrations in 24 hours; the 11th fails with 429.
  • 10 requests per minute per organization.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

WhatsApp number to copy approved templates from, with the country code

string
required

WhatsApp number to copy the templates to, with the country code. It must be on another WhatsApp Business Account of the same Meta business.

templates
array of objects
length between 1 and 6000

Templates on the source number to copy, by name and language, for example the failed templates of a COMPLETE migration. Every eligible template is copied when omitted; after a FAILED migration, omit it, since templates already on the destination are skipped.

templates
string
required
length ≤ 512

Template name

string
required
length ≤ 20

Template language code, as shown on the template

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json