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

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

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

Creates an outbound out-of-band record in the same way how `createInvitation` method does it,
but it also converts out-of-band invitation message to an "legacy" invitation message defined
in RFC 0160: Connection Protocol and returns it together with out-of-band record.

## Headers

- `x-tenant-id` string

## Request body

- DidCommOutOfBandCreateLegacyConnectionInvitationOptions
  - `label` string
  - `alias` string
  - `imageUrl` string
  - `multiUseInvitation` boolean
  - `autoAcceptConnection` boolean

## Response `200`

out-of-band record and invitation

- 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)
