---
title: "POST /didcomm/out-of-band/create-legacy-connectionless-invitation"
method: POST
path: "/didcomm/out-of-band/create-legacy-connectionless-invitation"
tags: ["DIDComm Out Of Band"]
---

# POST /didcomm/out-of-band/create-legacy-connectionless-invitation

`POST /didcomm/out-of-band/create-legacy-connectionless-invitation`

Creates a new connectionless legacy invitation.

Only works with messages created from:
- /didcomm/credentials/create-offer
- /didcomm/poofs/create-request

## Headers

- `x-tenant-id` string

## Request body

- DidCommOutOfBandCreateLegacyConnectionlessInvitationOptions
  - `message` PlaintextMessage, required
    - `@type` string, required
    - `@id` string, required
    - `~thread` object
      - `pthid` string
      - `thid` string
  - `domain` string, required

## Response `200`

Ok

- unknown

---

[API](https://skmtc.net/openwallet-foundation/apis/credo-rest-api.md) · [All operations](https://skmtc.net/openwallet-foundation/apis/credo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openwallet-foundation/credo-rest-api/revisions/33596742b733/schema)
