Twilio · Capability

Twilio - Numbers — RegulatoryCompliance

Twilio - Numbers — RegulatoryCompliance. 31 operations. Lead operation: RegulatoryCompliance. Self-contained Naftiko capability covering one Twilio business surface.

Run with Naftiko TwilioRegulatoryCompliance

What You Can Do

POST
Createbundle — Create a new Bundle.
/v1/v2/regulatorycompliance/bundles
GET
Listbundle — Retrieve a list of all Bundles for an account.
/v1/v2/regulatorycompliance/bundles
POST
Createbundlecopy — Creates a new copy of a Bundle. It will internally create copies of all the bundle items (identities and documents) of the original bundle
/v1/v2/regulatorycompliance/bundles/{bundlesid}/copies
GET
Listbundlecopy — Retrieve a list of all Bundles Copies for a Bundle.
/v1/v2/regulatorycompliance/bundles/{bundlesid}/copies
POST
Createevaluation — Creates an evaluation for a bundle
/v1/v2/regulatorycompliance/bundles/{bundlesid}/evaluations
GET
Listevaluation — Retrieve a list of Evaluations associated to the Bundle resource.
/v1/v2/regulatorycompliance/bundles/{bundlesid}/evaluations
GET
Fetchevaluation — Fetch specific Evaluation Instance.
/v1/v2/regulatorycompliance/bundles/{bundlesid}/evaluations/{sid}
POST
Createitemassignment — Create a new Assigned Item.
/v1/v2/regulatorycompliance/bundles/{bundlesid}/itemassignments
GET
Listitemassignment — Retrieve a list of all Assigned Items for an account.
/v1/v2/regulatorycompliance/bundles/{bundlesid}/itemassignments
GET
Fetchitemassignment — Fetch specific Assigned Item Instance.
/v1/v2/regulatorycompliance/bundles/{bundlesid}/itemassignments/{sid}
DELETE
Deleteitemassignment — Remove an Assignment Item Instance.
/v1/v2/regulatorycompliance/bundles/{bundlesid}/itemassignments/{sid}
POST
Createreplaceitems — Replaces all bundle items in the target bundle (specified in the path) with all the bundle items of the source bundle (specified by the from_bundle_sid body param)
/v1/v2/regulatorycompliance/bundles/{bundlesid}/replaceitems
GET
Fetchbundle — Fetch a specific Bundle instance.
/v1/v2/regulatorycompliance/bundles/{sid}
POST
Updatebundle — Updates a Bundle in an account.
/v1/v2/regulatorycompliance/bundles/{sid}
DELETE
Deletebundle — Delete a specific Bundle.
/v1/v2/regulatorycompliance/bundles/{sid}
GET
Listendusertype — Retrieve a list of all End-User Types.
/v1/v2/regulatorycompliance/endusertypes
GET
Fetchendusertype — Fetch a specific End-User Type Instance.
/v1/v2/regulatorycompliance/endusertypes/{sid}
POST
Createenduser — Create a new End User.
/v1/v2/regulatorycompliance/endusers
GET
Listenduser — Retrieve a list of all End User for an account.
/v1/v2/regulatorycompliance/endusers
GET
Fetchenduser — Fetch specific End User Instance.
/v1/v2/regulatorycompliance/endusers/{sid}
POST
Updateenduser — Update an existing End User.
/v1/v2/regulatorycompliance/endusers/{sid}
DELETE
Deleteenduser — Delete a specific End User.
/v1/v2/regulatorycompliance/endusers/{sid}
GET
Listregulation — Retrieve a list of all Regulations.
/v1/v2/regulatorycompliance/regulations
GET
Fetchregulation — Fetch specific Regulation Instance.
/v1/v2/regulatorycompliance/regulations/{sid}
GET
Listsupportingdocumenttype — Retrieve a list of all Supporting Document Types.
/v1/v2/regulatorycompliance/supportingdocumenttypes
GET
Fetchsupportingdocumenttype — Fetch a specific Supporting Document Type Instance.
/v1/v2/regulatorycompliance/supportingdocumenttypes/{sid}
POST
Createsupportingdocument — Create a new Supporting Document.
/v1/v2/regulatorycompliance/supportingdocuments
GET
Listsupportingdocument — Retrieve a list of all Supporting Document for an account.
/v1/v2/regulatorycompliance/supportingdocuments
GET
Fetchsupportingdocument — Fetch specific Supporting Document Instance.
/v1/v2/regulatorycompliance/supportingdocuments/{sid}
POST
Updatesupportingdocument — Update an existing Supporting Document.
/v1/v2/regulatorycompliance/supportingdocuments/{sid}
DELETE
Deletesupportingdocument — Delete a specific Supporting Document.
/v1/v2/regulatorycompliance/supportingdocuments/{sid}

MCP Tools

create-new-bundle

Create a new Bundle.

retrieve-list-all-bundles-account

Retrieve a list of all Bundles for an account.

read-only idempotent
creates-new-copy-bundle-it

Creates a new copy of a Bundle. It will internally create copies of all the bundle items (identities and documents) of the original bundle

retrieve-list-all-bundles-copies

Retrieve a list of all Bundles Copies for a Bundle.

read-only idempotent
creates-evaluation-bundle

Creates an evaluation for a bundle

retrieve-list-evaluations-associated-bundle

Retrieve a list of Evaluations associated to the Bundle resource.

read-only idempotent
fetch-specific-evaluation-instance

Fetch specific Evaluation Instance.

read-only idempotent
create-new-assigned-item

Create a new Assigned Item.

retrieve-list-all-assigned-items

Retrieve a list of all Assigned Items for an account.

read-only idempotent
fetch-specific-assigned-item-instance

Fetch specific Assigned Item Instance.

read-only idempotent
remove-assignment-item-instance

Remove an Assignment Item Instance.

idempotent
replaces-all-bundle-items-target

Replaces all bundle items in the target bundle (specified in the path) with all the bundle items of the source bundle (specified by the from_bundle_sid body param)

read-only
fetch-specific-bundle-instance

Fetch a specific Bundle instance.

read-only idempotent
updates-bundle-account

Updates a Bundle in an account.

delete-specific-bundle

Delete a specific Bundle.

idempotent
retrieve-list-all-end-user

Retrieve a list of all End-User Types.

read-only idempotent
fetch-specific-end-user-type

Fetch a specific End-User Type Instance.

read-only idempotent
create-new-end-user

Create a new End User.

retrieve-list-all-end-user-2

Retrieve a list of all End User for an account.

read-only idempotent
fetch-specific-end-user-instance

Fetch specific End User Instance.

read-only idempotent
update-existing-end-user

Update an existing End User.

delete-specific-end-user

Delete a specific End User.

idempotent
retrieve-list-all-regulations

Retrieve a list of all Regulations.

read-only idempotent
fetch-specific-regulation-instance

Fetch specific Regulation Instance.

read-only idempotent
retrieve-list-all-supporting-document

Retrieve a list of all Supporting Document Types.

read-only idempotent
fetch-specific-supporting-document-type

Fetch a specific Supporting Document Type Instance.

read-only idempotent
create-new-supporting-document

Create a new Supporting Document.

retrieve-list-all-supporting-document-2

Retrieve a list of all Supporting Document for an account.

read-only idempotent
fetch-specific-supporting-document-instance

Fetch specific Supporting Document Instance.

read-only idempotent
update-existing-supporting-document

Update an existing Supporting Document.

delete-specific-supporting-document

Delete a specific Supporting Document.

idempotent

Capability Spec

numbers-regulatorycompliance.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio - Numbers — RegulatoryCompliance
  description: 'Twilio - Numbers — RegulatoryCompliance. 31 operations. Lead operation: RegulatoryCompliance. Self-contained
    Naftiko capability covering one Twilio business surface.'
  tags:
  - Twilio
  - RegulatoryCompliance
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: numbers-regulatorycompliance
    baseUri: https://numbers.twilio.com
    description: Twilio - Numbers — RegulatoryCompliance business capability. Self-contained, no shared references.
    resources:
    - name: v2-RegulatoryCompliance-Bundles
      path: /v2/RegulatoryCompliance/Bundles
      operations:
      - name: createbundle
        method: POST
        description: Create a new Bundle.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: listbundle
        method: GET
        description: Retrieve a list of all Bundles for an account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Status
          in: query
          type: string
          description: The verification status of the Bundle resource. Please refer to [Bundle Statuses](https://www.twilio.com/docs/phone-numbers/regulatory/api/bundles#bundle-status
        - name: FriendlyName
          in: query
          type: string
          description: The string that you assigned to describe the resource. The column can contain 255 variable characters.
        - name: RegulationSid
          in: query
          type: string
          description: The unique string of a [Regulation resource](https://www.twilio.com/docs/phone-numbers/regulatory/api/regulations)
            that is associated to the Bundle resource.
        - name: IsoCountry
          in: query
          type: string
          description: The 2-digit [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the Bundle's phone
            number country ownership request.
        - name: NumberType
          in: query
          type: string
          description: The type of phone number of the Bundle's ownership request. Can be `local`, `mobile`, `national`, or
            `tollfree`.
        - name: HasValidUntilDate
          in: query
          type: boolean
          description: Indicates that the Bundle is a valid Bundle until a specified expiration date.
        - name: SortBy
          in: query
          type: string
          description: Can be `valid-until` or `date-updated`. Defaults to `date-created`.
        - name: SortDirection
          in: query
          type: string
          description: Default is `DESC`. Can be `ASC` or `DESC`.
        - name: ValidUntilDate
          in: query
          type: string
          description: 'Date to filter Bundles having their `valid_until_date` before or after the specified date. Can be
            `ValidUntilDate>=` or `ValidUntilDate<=`. Both can be used in '
        - name: ValidUntilDate<
          in: query
          type: string
          description: 'Date to filter Bundles having their `valid_until_date` before or after the specified date. Can be
            `ValidUntilDate>=` or `ValidUntilDate<=`. Both can be used in '
        - name: ValidUntilDate>
          in: query
          type: string
          description: 'Date to filter Bundles having their `valid_until_date` before or after the specified date. Can be
            `ValidUntilDate>=` or `ValidUntilDate<=`. Both can be used in '
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v2-RegulatoryCompliance-Bundles-BundleSid-Copies
      path: /v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies
      operations:
      - name: createbundlecopy
        method: POST
        description: Creates a new copy of a Bundle. It will internally create copies of all the bundle items (identities
          and documents) of the original bundle
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: BundleSid
          in: path
          type: string
          description: The unique string that identifies the Bundle to be copied.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: listbundlecopy
        method: GET
        description: Retrieve a list of all Bundles Copies for a Bundle.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: BundleSid
          in: path
          type: string
          description: The unique string that we created to identify the Bundle resource.
          required: true
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v2-RegulatoryCompliance-Bundles-BundleSid-Evaluations
      path: /v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations
      operations:
      - name: createevaluation
        method: POST
        description: Creates an evaluation for a bundle
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: BundleSid
          in: path
          type: string
          description: The unique string that identifies the Bundle resource.
          required: true
      - name: listevaluation
        method: GET
        description: Retrieve a list of Evaluations associated to the Bundle resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: BundleSid
          in: path
          type: string
          description: The unique string that identifies the Bundle resource.
          required: true
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v2-RegulatoryCompliance-Bundles-BundleSid-Evaluations-Sid
      path: /v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations/{Sid}
      operations:
      - name: fetchevaluation
        method: GET
        description: Fetch specific Evaluation Instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: BundleSid
          in: path
          type: string
          description: The unique string that we created to identify the Bundle resource.
          required: true
        - name: Sid
          in: path
          type: string
          description: The unique string that identifies the Evaluation resource.
          required: true
    - name: v2-RegulatoryCompliance-Bundles-BundleSid-ItemAssignments
      path: /v2/RegulatoryCompliance/Bundles/{BundleSid}/ItemAssignments
      operations:
      - name: createitemassignment
        method: POST
        description: Create a new Assigned Item.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: BundleSid
          in: path
          type: string
          description: The unique string that we created to identify the Bundle resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: listitemassignment
        method: GET
        description: Retrieve a list of all Assigned Items for an account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: BundleSid
          in: path
          type: string
          description: The unique string that we created to identify the Bundle resource.
          required: true
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v2-RegulatoryCompliance-Bundles-BundleSid-ItemAssignments-Sid
      path: /v2/RegulatoryCompliance/Bundles/{BundleSid}/ItemAssignments/{Sid}
      operations:
      - name: fetchitemassignment
        method: GET
        description: Fetch specific Assigned Item Instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: BundleSid
          in: path
          type: string
          description: The unique string that we created to identify the Bundle resource.
          required: true
        - name: Sid
          in: path
          type: string
          description: The unique string that we created to identify the Identity resource.
          required: true
      - name: deleteitemassignment
        method: DELETE
        description: Remove an Assignment Item Instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: BundleSid
          in: path
          type: string
          description: The unique string that we created to identify the Bundle resource.
          required: true
        - name: Sid
          in: path
          type: string
          description: The unique string that we created to identify the Identity resource.
          required: true
    - name: v2-RegulatoryCompliance-Bundles-BundleSid-ReplaceItems
      path: /v2/RegulatoryCompliance/Bundles/{BundleSid}/ReplaceItems
      operations:
      - name: createreplaceitems
        method: POST
        description: Replaces all bundle items in the target bundle (specified in the path) with all the bundle items of the
          source bundle (specified by the from_bundle_sid body param)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: BundleSid
          in: path
          type: string
          description: The unique string that identifies the Bundle where the item assignments are going to be replaced.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v2-RegulatoryCompliance-Bundles-Sid
      path: /v2/RegulatoryCompliance/Bundles/{Sid}
      operations:
      - name: fetchbundle
        method: GET
        description: Fetch a specific Bundle instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string that we created to identify the Bundle resource.
          required: true
      - name: updatebundle
        method: POST
        description: Updates a Bundle in an account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string that we created to identify the Bundle resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletebundle
        method: DELETE
        description: Delete a specific Bundle.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string that we created to identify the Bundle resource.
          required: true
    - name: v2-RegulatoryCompliance-EndUserTypes
      path: /v2/RegulatoryCompliance/EndUserTypes
      operations:
      - name: listendusertype
        method: GET
        description: Retrieve a list of all End-User Types.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v2-RegulatoryCompliance-EndUserTypes-Sid
      path: /v2/RegulatoryCompliance/EndUserTypes/{Sid}
      operations:
      - name: fetchendusertype
        method: GET
        description: Fetch a specific End-User Type Instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string that identifies the End-User Type resource.
          required: true
    - name: v2-RegulatoryCompliance-EndUsers
      path: /v2/RegulatoryCompliance/EndUsers
      operations:
      - name: createenduser
        method: POST
        description: Create a new End User.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: listenduser
        method: GET
        description: Retrieve a list of all End User for an account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v2-RegulatoryCompliance-EndUsers-Sid
      path: /v2/RegulatoryCompliance/EndUsers/{Sid}
      operations:
      - name: fetchenduser
        method: GET
        description: Fetch specific End User Instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string created by Twilio to identify the End User resource.
          required: true
      - name: updateenduser
        method: POST
        description: Update an existing End User.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string created by Twilio to identify the End User resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteenduser
        method: DELETE
        description: Delete a specific End User.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string created by Twilio to identify the End User resource.
          required: true
    - name: v2-RegulatoryCompliance-Regulations
      path: /v2/RegulatoryCompliance/Regulations
      operations:
      - name: listregulation
        method: GET
        description: Retrieve a list of all Regulations.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: EndUserType
          in: query
          type: string
          description: The type of End User the regulation requires - can be `individual` or `business`.
        - name: IsoCountry
          in: query
          type: string
          description: The ISO country code of the phone number's country.
        - name: NumberType
          in: query
          type: string
          description: The type of phone number that the regulatory requiremnt is restricting.
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v2-RegulatoryCompliance-Regulations-Sid
      path: /v2/RegulatoryCompliance/Regulations/{Sid}
      operations:
      - name: fetchregulation
        method: GET
        description: Fetch specific Regulation Instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string that identifies the Regulation resource.
          required: true
    - name: v2-RegulatoryCompliance-SupportingDocumentTypes
      path: /v2/RegulatoryCompliance/SupportingDocumentTypes
      operations:
      - name: listsupportingdocumenttype
        method: GET
        description: Retrieve a list of all Supporting Document Types.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v2-RegulatoryCompliance-SupportingDocumentTypes-Sid
      path: /v2/RegulatoryCompliance/SupportingDocumentTypes/{Sid}
      operations:
      - name: fetchsupportingdocumenttype
        method: GET
        description: Fetch a specific Supporting Document Type Instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string that identifies the Supporting Document Type resource.
          required: true
    - name: v2-RegulatoryCompliance-SupportingDocuments
      path: /v2/RegulatoryCompliance/SupportingDocuments
      operations:
      - name: createsupportingdocument
        method: POST
        description: Create a new Supporting Document.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: listsupportingdocument
        method: GET
        description: Retrieve a list of all Supporting Document for an account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v2-RegulatoryCompliance-SupportingDocuments-Sid
      path: /v2/RegulatoryCompliance/SupportingDocuments/{Sid}
      operations:
      - name: fetchsupportingdocument
        method: GET
        description: Fetch specific Supporting Document Instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string created by Twilio to identify the Supporting Document resource.
          required: true
      - name: updatesupportingdocument
        method: POST
        description: Update an existing Supporting Document.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string created by Twilio to identify the Supporting Document resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletesupportingdocument
        method: DELETE
        description: Delete a specific Supporting Document.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string created by Twilio to identify the Supporting Document resource.
          required: true
    authentication:
      type: basic
      username: '{{env.TWILIO_USER}}'
      password: '{{env.TWILIO_PASS}}'
  exposes:
  - type: rest
    namespace: numbers-regulatorycompliance-rest
    port: 8080
    description: REST adapter for Twilio - Numbers — RegulatoryCompliance. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/regulatorycompliance/bundles
      name: v2-regulatorycompliance-bundles
      description: REST surface for v2-RegulatoryCompliance-Bundles.
      operations:
      - method: POST
        name: createbundle
        description: Create a new Bundle.
        call: numbers-regulatorycompliance.createbundle
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listbundle
        description: Retrieve a list of all Bundles for an account.
        call: numbers-regulatorycompliance.listbundle
        with:
          Status: rest.Status
          FriendlyName: rest.FriendlyName
          RegulationSid: rest.RegulationSid
          IsoCountry: rest.IsoCountry
          NumberType: rest.NumberType
          HasValidUntilDate: rest.HasValidUntilDate
          SortBy: rest.SortBy
          SortDirection: rest.SortDirection
          ValidUntilDate: rest.ValidUntilDate
          ValidUntilDate<: rest.ValidUntilDate<
          ValidUntilDate>: rest.ValidUntilDate>
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/regulatorycompliance/bundles/{bundlesid}/copies
      name: v2-regulatorycompliance-bundles-bundlesid-copies
      description: REST surface for v2-RegulatoryCompliance-Bundles-BundleSid-Copies.
      operations:
      - method: POST
        name: createbundlecopy
        description: Creates a new copy of a Bundle. It will internally create copies of all the bundle items (identities
          and documents) of the original bundle
        call: numbers-regulatorycompliance.createbundlecopy
        with:
          BundleSid: rest.BundleSid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listbundlecopy
        description: Retrieve a list of all Bundles Copies for a Bundle.
        call: numbers-regulatorycompliance.listbundlecopy
        with:
          BundleSid: rest.BundleSid
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/regulatorycompliance/bundles/{bundlesid}/evaluations
      name: v2-regulatorycompliance-bundles-bundlesid-evaluations
      description: REST surface for v2-RegulatoryCompliance-Bundles-BundleSid-Evaluations.
      operations:
      - method: POST
        name: createevaluation
        description: Creates an evaluation for a bundle
        call: numbers-regulatorycompliance.createevaluation
        with:
          BundleSid: rest.BundleSid
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listevaluation
        description: Retrieve a list of Evaluations associated to the Bundle resource.
        call: numbers-regulatorycompliance.listevaluation
        with:
          BundleSid: rest.BundleSid
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/regulatorycompliance/bundles/{bundlesid}/evaluations/{sid}
      name: v2-regulatorycompliance-bundles-bundlesid-evaluations-sid
      description: REST surface for v2-RegulatoryCompliance-Bundles-BundleSid-Evaluations-Sid.
      operations:
      - method: GET
        name: fetchevaluation
        description: Fetch specific Evaluation Instance.
        call: numbers-regulatorycompliance.fetchevaluation
        with:
          BundleSid: rest.BundleSid
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/regulatorycompliance/bundles/{bundlesid}/itemassignments
      name: v2-regulatorycompliance-bundles-bundlesid-itemassignments
      description: REST surface for v2-RegulatoryCompliance-Bundles-BundleSid-ItemAssignments.
      operations:
      - method: POST
        name: createitemassignment
        description: Create a new Assigned Item.
        call: numbers-regulatorycompliance.createitemassignment
        with:
          BundleSid: rest.BundleSid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listitemassignment
        description: Retrieve a list of all Assigned Items for an account.
        call: numbers-regulatorycompliance.listitemassignment
        with:
          BundleSid: rest.BundleSid
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/regulatorycompliance/bundles/{bundlesid}/itemassignments/{sid}
      name: v2-regulatorycompliance-bundles-bundlesid-itemassignments-sid
      description: REST surface for v2-RegulatoryCompliance-Bundles-BundleSid-ItemAssignments-Sid.
      operations:
      - method: GET
        name: fetchitemassignment
        description: Fetch specific Assigned Item Instance.
        call: numbers-regulatorycompliance.fetchitemassignment
        with:
          BundleSid: rest.BundleSid
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteitemassignment
        description: Remove an Assignment Item Instance.
        call: numbers-regulatorycompliance.deleteitemassignment
        with:
          BundleSid: rest.BundleSid
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/regulatorycompliance/bundles/{bundlesid}/replaceitems
      name: v2-regulatorycompliance-bundles-bundlesid-replaceitems
      description: REST surface for v2-RegulatoryCompliance-Bundles-BundleSid-ReplaceItems.
      operations:
      - method: POST
        name: createreplaceitems
        description: Replaces all bundle items in the target bundle (specified in the path) with all the bundle items of the
          source bundle (specified by the from_bundle_sid body param)
        call: numbers-regulatorycompliance.createreplaceitems
        with:
          BundleSid: rest.BundleSid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/regulatorycompliance/bundles/{sid}
      name: v2-regulatorycompliance-bundles-sid
      description: REST surface for v2-RegulatoryCompliance-Bundles-Sid.
      operations:
      - method: GET
        name: fetchbundle
        description: Fetch a specific Bundle instance.
        call: numbers-regulatorycompliance.fetchbundle
        with:
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: updatebundle
        description: Updates a Bundle in an account.
        call: numbers-regulatorycompliance.updatebundle
        with:
          Sid: rest.Sid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletebundle
        description: Delete a specific Bundle.
        call: numbers-regulatorycompliance.deletebundle
        with:
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/regulatorycompliance/endusertypes
      name: v2-regulatorycompliance-endusertypes
      description: REST surface for v2-RegulatoryCompliance-EndUserTypes.
      operations:
      - method: GET
        name: listendusertype
        description: Retrieve a list of all End-User Types.
        call: numbers-regulatorycompliance.listendusertype
        with:
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/regulatorycompliance/endusertypes/{sid}
      name: v2-regulatorycompliance-endusertypes-sid
      descript

# --- truncated at 32 KB (51 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/twilio/refs/heads/main/capabilities/numbers-regulatorycompliance.yaml