marketplace
PUT /v1/marketplace/listings/{listing_id}/data-room/access/{access_id}
Approve, decline or revoke a buyer's data-room access (seller).
Authentication
Send an API key as a bearer token. This endpoint checks no specific permission, so any key for your organisation can call it.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X PUT https://api.zinndigital.com/v1/marketplace/listings/{listing_id}/data-room/access/{access_id} \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "decision": <string<approve, decline, revoke>> }'Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
approve from requested/declined, decline from requested, revoke from approved (409 decisionNotAllowed otherwise). Audited as marketplace.data_room.access_decided.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
listing_id (path) | string | Yes | — |
access_id (path) | string | Yes | — |
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
decision | string<approve, decline, revoke> | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | — |
state | string<requested, approved, declined, revoked> | Yes | — |
Errors this endpoint can return
401 · 404 · 409 · 422