---
title: "This subscribes an Object to a Campaign or Sequence"
method: PUT
path: "/objects/subscribe"
tags: ["objects"]
---

# This subscribes an Object to a Campaign or Sequence

`PUT /objects/subscribe`

This will add an Object to a Campaign or Sequence. When adding or removing, either <b>ids</b> or <b>group_id</b> must be given. <b> Note: </b> Campaigns are now called Automations in the Ontraport app.

## Response `200`

Successfully added Subscription(s)

- Response
  - `code` integer, required
  - `data` object, required
  - `account_id` integer, required

---

[API](https://skmtc.net/ontraport/apis/ontraport-api.md) · [All operations](https://skmtc.net/ontraport/apis/ontraport-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ontraport/ontraport-api/revisions/edcd035d71f5/schema)
