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

# POST /didcomm/out-of-band/receive-invitation

`POST /didcomm/out-of-band/receive-invitation`

Receive an out of band invitation. Supports urls as well as JSON messages. Also supports legacy
connection invitations

## Headers

- `x-tenant-id` string

## Request body

- DidCommOutOfBandReceiveInvitationOptions
  - `label` string
  - `alias` string
  - `imageUrl` string
  - `autoAcceptConnection` boolean
  - `autoAcceptInvitation` boolean
  - `reuseConnection` boolean
  - `acceptInvitationTimeoutMs` number, double
  - `ourDid` string
  - `invitation` union, required
    - PlaintextMessage
      - `@type` string, required
      - `@id` string, required
      - `~thread` object
        - `pthid` string
        - `thid` string
    - string

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