---
title: "Add a subscriber to the group"
method: POST
path: "/orgunit/{orgunitId}/groups/{groupId}/subscribers"
tags: ["Subscriber"]
---

# Add a subscriber to the group

`POST /orgunit/{orgunitId}/groups/{groupId}/subscribers`

## Path parameters

- `groupId` string, required
- `orgunitId` string, required

## Request body

- SubscriberParam
  - `firstName` string, nullable
  - `lastName` string, nullable
  - `mobileNo` string
  - `imageUrl` string, nullable
  - `gender` string, nullable
  - `address` Address
    - `address1` string, nullable
    - `state` string, nullable
    - `postalCode` string, nullable
    - `countryCode` string, nullable
  - `relations` Relation[], nullable
    - `name` string, nullable
    - `relationship` string, nullable
  - `mobileCountryCode` string, nullable
  - `age` integer, nullable
  - `properties` Properties[], nullable
    - `name` string, nullable
    - `value` string, nullable

## Response `201`

Success

- SubscriberResponseExternalApiResponseNew
  - `data` SubscriberResponse
    - `id` string, nullable
  - `appCode` string, nullable
  - `message` string, nullable
  - `isError` boolean

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/ministrybytext/apis/pbt-api-documentation.md) · [All operations](https://skmtc.net/ministrybytext/apis/pbt-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ministrybytext/pbt-api-documentation/versions/ca6e9c8f430d/schema)
