WhatsApp templates synced from Meta for the brand's connections (name, language, category, status, components). No credentials
GET
/v1/brands/{brand}/whatsapp-templates
const url = 'https://api.replifier.com/v1/brands/example/whatsapp-templates?status=APPROVED';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.replifier.com/v1/brands/example/whatsapp-templates?status=APPROVED'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”brand
required
string
Query Parameters
Section titled “Query Parameters”status
string
limit
integer
Responses
Section titled “Responses”Templates
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
connectionId
required
string
name
required
string
language
required
string
category
required
string
status
required
string
components
required
Array
syncedAt
required
string
Example generated
{ "data": [ { "id": "example", "connectionId": "example", "name": "example", "language": "example", "category": "example", "status": "example", "components": [ "example" ], "syncedAt": "example" } ]}Invalid data
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}No session, expired session, or invalid, expired or revoked API key
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Internal error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}