Skip to main content
POST
/
v1
/
organization
/
whatsapp
/
templates
/
{templateId}
/
apps
cURL
curl --request POST \
  --url https://api.buildwithchirp.com/v1/organization/whatsapp/templates/{templateId}/apps \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "appId": "app_abc123"
}
'
{
  "id": "awat_abc123"
}

Authorizations

Authorization
string
header
required

Admin API key (format: sk_admin_*) for organization-level operations

Path Parameters

templateId
string
required

The template ID to link

Example:

"wht_abc123"

Body

application/json
appId
string
required

The app ID to link to this template

Example:

"app_abc123"

Response

Template linked successfully (or link already existed)

id
string
required

The ID of the app-template link

Example:

"awat_abc123"