---
title: "Resubscribe a customer to campaigns and triggers"
method: POST
path: "/customers/{id}/resubscribe"
tags: ["Customers"]
---

# Resubscribe a customer to campaigns and triggers

`POST /customers/{id}/resubscribe`

## Path parameters

- `id` string, required

## Request body

- union
  - object
    - `type` 'campaign', required — The type of resubscribe. `campaign` in this case indicates resubscribing to a single campaign
    - `campaign_id` string, required — The ID of the campaign to resubscribe to
  - object
    - `type` 'trigger', required — The type of resubscribe. `trigger` in this case indicates resubscribing to a single trigger
    - `trigger_id` string, required — The ID of the trigger to resubscribe to
  - object
    - `type` 'future', required — The type of resubscribe. `future` in this case indicates resubscribing to future campaigns. Does not resubscribe the customer to any existing campaigns or triggers

## Response `200`

The `Customer` object which was resubscribed

- Customer
  - `id` string, required — The ID of the customer
  - `external_id` string, nullable, required — The external ID of the customer
  - `email_address` string, nullable, required — The email address of the customer
  - `phone_number` string, nullable, required — The phone number of the customer
  - `full_name` string, nullable, required — The full name of the customer
  - `metadata` object, required — The metadata associated with this customer
  - `unsubscribed` 'future' | 'campaign', nullable, required — The unsubscribe status of the customer

---

[API](https://skmtc.dev/pocketflows/apis/pocketflows-api.md) · [All operations](https://skmtc.dev/pocketflows/apis/pocketflows-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pocketflows/pocketflows-api/revisions/26723490b96f/schema)
