---
title: "POST contactOptedIn"
method: POST
path: "contactOptedIn"
---

# POST contactOptedIn

`POST contactOptedIn` (webhook)

The `contact.opted_in` event is delivered whenever a contact opts back in to receiving messages by sending a keyword message (START, YES, UNSTOP).

## Payload

- ContactOptedInEvent
  - `account_id` string, required — The ID of the account in which this event occurred
  - `data` object, required — The data associated with the event
    - `id` string, required — The unique identifier for the contact
  - `timestamp` string, date-time, required — The timestamp when this event occurred, in ISO8601 format
  - `type` 'contact.opted_in', required — The type of the event. Always `contact.opted_in` for this event.

## Acknowledgement `200`

Return a 200 status to indicate that the data was received successfully

---

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