Skip to content
PaalChat Docs

Create template from library

.md
POST
https://whatsapp.paaltech.org/api/v1/businesses/{external_id}/whatsapp/templates/from-library

Token ability: templates.manage ยท Authentication

Copies a library template for the business (its name filled in) and submits it to Meta for review, like Create template. The name defaults to the library key.

Path parameters

external_id string required

Your own ID for the business (Multi-SKUUL - the tenant ID).

Max 191 characters. Pattern ^[A-Za-z0-9._:-]+$.

Body parameters

key string required

Example school_fee_reminder.

name string | null

Pattern ^[a-z0-9_]+$.

waba_id string | null

Responses

201

Submitted to Meta and mirrored.

401

unauthenticated - missing, invalid, revoked or expired token

403

missing_ability, product_suspended or product_token_required

404

not_found - not yours, or does not exist

409

business_suspended - the business is suspended on PaalChat.

422

validation_failed, waba_required or template_rejected.

429

rate_limited - over 300 requests/minute for this product

503

meta_unavailable.

Errors always look like {"error": {"code", "message"}} - see Errors and status codes.