Channels

Validate WhatsApp template bindings and build an exact preview

Session-only. This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

post/api/channels/{id}/templates/{templateId}/preview

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/channels/{id}/templates/{templateId}/preview
  • Auth: API key in cookie luca.session_token

Path parameters

idstring uuid required

Identifier of the channel this operation targets.

templateIdstring uuid required

Identifier of the template this operation targets.

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Request body

Response

ok

billingNotice'Meta bills WhatsApp messages to your WhatsApp Business Account. Luca does not calculate or add provider charges.' required

Changes

No recorded changes to this operation across all 1 revision of this API.