Skip to main content
POST
Adopt a library template

Authorizations

Authorization
string
header
required

API key from Developer dashboard (Bearer token).

Body

application/json
account_id
integer
required

A connected WhatsApp number (social account id).

library_template_name
string
required

Entry name from GET /whatsapp/template-library.

name
string
required

The name your template will have on your WABA.

language
string
required

Language code, e.g. en_US.

category
enum<string>
default:UTILITY
Available options:
MARKETING,
UTILITY,
AUTHENTICATION
library_template_button_inputs
object[]

Values for buttons the library entry leaves open.

message_send_ttl_seconds
integer

Response

Template created

success
enum<boolean>
Available options:
true
data
object