---
title: "POST /agent/subscribe"
method: POST
path: "/agent/subscribe"
tags: ["agent"]
---

# POST /agent/subscribe

`POST /agent/subscribe`

Add agent

## Request body

- AgentsLocation
  - `active` integer
  - `create_date` string, date-time
  - `expire_date` string, date-time
  - `gid` integer
  - `host` string
  - `node` string
  - `path` string
  - `port` integer
  - `protocol` string
  - `ttl` integer
  - `type` string
  - `uuid` string

## Response `201`

AgentLocationCreateSuccessResponse

- AgentLocationCreateSuccessResponse
  - `data` string
  - `message` string

## Other responses

- `400` — FailureResponse

---

[API](https://skmtc.net/sipcapture/apis/homer-app.md) · [All operations](https://skmtc.net/sipcapture/apis/homer-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipcapture/homer-app/versions/2f261ecc6074/schema)
