---
title: "Look up a library template"
method: GET
path: "/api/profiles/{profile_id}/templates/library"
tags: ["WhatsApp"]
---

# Look up a library template

`GET /api/profiles/{profile_id}/templates/library`

## Request

- Base URL: `https://api.postproxy.dev`
- URL: `https://api.postproxy.dev/api/profiles/{profile_id}/templates/library`
- Auth: HTTP bearer

Looks a template up in Meta’s pre-approved library and returns its body, expected inputs and buttons — everything needed to fill the library inputs on create.

## Query parameters

- `profile_group_id` string
- `name` string, required
- `language` string

## Response `200`

Meta’s library entry, or null when the name is unknown.

- WhatsAppTemplateLibraryResponse
  - `template` object, nullable: Meta’s library entry — body, expected inputs and buttons. Null when the name is unknown.

## Other responses

- `400`: Missing required parameters.
- `401`: Invalid, missing, or insufficient API key permissions.
- `404`: Resource does not exist or is not accessible.
- `422`: Validation failed.

---

[API](https://skmtc.dev/postproxy/apis/postproxy-social-media-api.md) - [All operations](https://skmtc.dev/postproxy/apis/postproxy-social-media-api/llms.txt) - [OpenAPI document](https://skmtc.dev/postproxy/apis/postproxy-social-media-api/revisions/d54482ac4ce7?raw)
