# Connector gateway: authorize one signed, recorded callback delivery and return its saved destination path

POST /api/agent/connectors/{id}/callback-access. Required scopes: connectors:write.

HTML: https://notify.belweave.ai/docs/api/postConnectorsIdCallbackAccess

Required scopes: `connectors:write`

```http
POST /api/agent/connectors/{id}/callback-access
Authorization: Bearer ntf_your_token
```

## Operation schema

```json
{
  "summary": "Connector gateway: authorize one signed, recorded callback delivery and return its saved destination path",
  "operationId": "postConnectorsIdCallbackAccess",
  "security": [
    {
      "bearer": [
        "connectors:write"
      ]
    }
  ],
  "x-notify-scopes": [
    "connectors:write"
  ],
  "parameters": [
    {
      "name": "id",
      "in": "path",
      "schema": {
        "type": "string"
      },
      "required": true
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "routeName": {
              "type": "string"
            },
            "body": {
              "type": "string",
              "minLength": 1,
              "maxLength": 65536
            },
            "timestamp": {
              "type": "string"
            },
            "signature": {
              "type": "string"
            }
          },
          "required": [
            "routeName",
            "body",
            "timestamp",
            "signature"
          ],
          "additionalProperties": false
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Success",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "path": {
                "type": "string"
              }
            },
            "required": [
              "path"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Invalid request",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "401": {
      "description": "Missing, unknown, revoked, or expired token",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "403": {
      "description": "The token lacks a required scope or the account lacks permission",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "404": {
      "description": "Not found for this account",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  }
}
```

Resolve schema references against [OpenAPI](https://notify.belweave.ai/openapi.json).
