---
title: "Sync agent identities from peer relay"
method: POST
path: "/v1/relay/sync/identities"
tags: ["Agent Infrastructure"]
---

# Sync agent identities from peer relay

`POST /v1/relay/sync/identities`

Federated peers push their agent public profiles. Requires peer_secret authentication.

## Request body

- object
  - `relay_url` string, required
  - `peer_secret` string
  - `agents` object[], required
    - `did` string
    - `name` string
    - `signing_public_key` string
    - `encryption_public_key` string
    - `capabilities` string[]

## Response `200`

Sync result

- object
  - `synced` integer
  - `skipped` integer
  - `total_received` integer

## Other responses

- `403` — Invalid peer credentials

---

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