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

# POST /didcomm/out-of-band/{outOfBandId}/accept-invitation

`POST /didcomm/out-of-band/{outOfBandId}/accept-invitation`

Accept a connection invitation as invitee (by sending a connection request message) for the connection with the specified connection id.
This is not needed when auto accepting of connections is enabled.

## Path parameters

- `outOfBandId` string, required

## Headers

- `x-tenant-id` string

## Request body

- DidCommOutOfBandAcceptInvitationOptions
  - `autoAcceptConnection` boolean
  - `reuseConnection` boolean
  - `label` string
  - `alias` string
  - `imageUrl` string
  - `timeoutMs` number, double
  - `ourDid` 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)
