Creates an evaluation for a bundle

POST /v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations

TODO: Resource-level docs

Creates an evaluation for a bundle

Path parameters

  • BundleSid string Required

    The unique string that identifies the Bundle resource.

Responses

  • Created

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • bundle_sid string | null

      The unique string that identifies the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^BU[0-9a-fA-F]{32}$.

    • date_created string(date-time) | null
    • regulation_sid string | null

      The unique string of a regulation

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^RN[0-9a-fA-F]{32}$.

    • results array | null

      The results of the Evaluation resource

    • sid string | null

      The unique string that identifies the Evaluation resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^EL[0-9a-fA-F]{32}$.

    • status string | null

      The compliance status of the Evaluation resource

      Values are compliant or noncompliant.

    • url string(uri) | null
POST /v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations
curl \
 -X POST https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations \
 --user "username:password"
Response examples (201)
{
  "account_sid": "string",
  "bundle_sid": "string",
  "date_created": "2023-05-04T09:42:00+00:00",
  "regulation_sid": "string",
  "results": [],
  "sid": "string",
  "status": "compliant",
  "url": "https://example.com"
}
Response examples (201)
{
  "account_sid": "string",
  "bundle_sid": "string",
  "date_created": "2024-05-04T09:42:00+00:00",
  "regulation_sid": "string",
  "results": [],
  "sid": "string",
  "status": "compliant",
  "url": "https://example.com"
}