---
title: "Open the chat with an applicant"
method: POST
path: "/applications/{id}/chat"
tags: ["Chat"]
---

# Open the chat with an applicant

`POST /applications/{id}/chat`

## Request

- Base URL: `https://viral.app/api/v1`
- URL: `https://viral.app/api/v1/applications/{id}/chat`
- Auth: API key in header `x-api-key`

Returns the conversation with the applicant, creating it if the organization has not written to them yet.

## Path parameters

- `id` string, required: Job application ID

## Response `200`

OK

- object
  - `chatId` string, required
  - `hasMessages` boolean, required

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `404`: 404
- `408`: 408
- `409`: 409
- `429`: 429
- `500`: 500

---

[API](https://skmtc.dev/viral/apis/viral-app-api.md) · [All operations](https://skmtc.dev/viral/apis/viral-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/viral/apis/viral-app-api/revisions/31e97fa79ef1?raw)
