---
title: "Add Keyword"
method: POST
path: "/orgunit/{orgunitId}/groups/{groupId}/keywords"
tags: ["Keywords"]
---

# Add Keyword

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

Add keyword to a group that can be assigned to group and can be used for optin, trigger response when keyword is hit.

## Path parameters

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

## Request body

- KeywordRequestParams
  - `name` string
  - `onContact` string — Keyword response message to be added in this field
  - `notificationEmails` string[]
  - `notificationMobileNos` string[]

## Response `200`

Success

- ExternalApiResponseNew
  - `appCode` string
  - `message` string
  - `isError` boolean

## Other responses

- `400` — Bad Request
- `403` — Forbidden

---

[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)
