---
title: "Get a callback template"
method: GET
path: "/v2/apps/{app_id}/callback_templates/{id}"
tags: ["Callback Templates"]
---

# Get a callback template

`GET /v2/apps/{app_id}/callback_templates/{id}`

## Request

- Base URL: `https://api.tenjin.com`
- URL: `https://api.tenjin.com/v2/apps/{app_id}/callback_templates/{id}`
- Auth: HTTP bearer

## Path parameters

- `app_id` string, uuid, required
- `id` string, uuid, required

## Response `200`

The callback template

- CallbackTemplateDocument
  - `data` CallbackTemplateResource, required
    - `id` string, uuid, required
    - `type` 'callback_template', required
    - `attributes` object, required
      - `name` string, required: Name of the callback template
      - `description` string, nullable, required: Short summary of the callback template
      - `action` 'ping' | 'ping_on_first' | 'notify_on_reengagement' | 'ping_adwords' | 'ping_adwords_deferred' | 'ping_adwords_post_install' | 'fetch_adwords_reengagement' | 'notify_adwords_reengagement' | 'ping_amazon' | 'ping_amazon_post_install' | 'fetch_amazon_reengagement' | 'notify_amazon_reengagement' | 'ping_facebook_deferred' | 'ping_facebook' | 'ping_facebook_post_install' | 'fetch_facebook_reengagement' | 'notify_facebook_reengagement' | 'ping_double_click_bid_manager' | 'fetch_double_click_bid_manager_reengagement' | 'ping_snapchat' | 'ping_snapchat_post_install' | 'fetch_snapchat_reengagement' | 'notify_snapchat_reengagement' | 'ping_tiktok' | 'ping_tiktok_post_install' | 'fetch_tiktok_reengagement' | 'notify_tiktok_reengagement' | 'san_callback' | 'null', nullable, required: What the callbacks made from the template do, such as `ping_on_first`
      - `event` string, nullable, required: Event that sends the callbacks made from the template
      - `customer_parameters` object, required: Display name of each parameter a callback sets
      - `is_install` boolean, required: Whether an app can have only one callback from the template
      - `channel_id` integer, nullable, required: Id of the template's channel
      - `platform` 'amazon' | 'android' | 'android_other' | 'ios' | 'windows' | 'unspecified', required: Platform of the apps the template is for
      - `required_by_channel` boolean, required: Whether the channel's click URL shows only once the app has a callback from the template
  - `links` Links, required
    - `self` string, uri, required: URL of this request
    - `first` string, uri: URL of the first page of a list
    - `prev` string, uri: URL of the previous page of a list
    - `next` string, uri: URL of the next page of a list
    - `last` string, uri: URL of the last page of a list
  - `meta` object, required: Always empty

## Other responses

- `400`: A param is missing or invalid, a record is not found, or the request cannot be served
- `401`: Missing or invalid credentials, or no access to the requested data
- `403`: Invalid token, or the user's role does not allow the request
- `498`: Expired token, or a token with an invalid signature

---

[API](https://skmtc.dev/tenjin/apis/campaign-management-api.md) - [All operations](https://skmtc.dev/tenjin/apis/campaign-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tenjin/apis/campaign-management-api/revisions/e3cae1a03a92?raw)
