Confirm8 AI Tool

AI tool for Confirm8. IMPORTANT: For "OS/ordem de serviço" use resource="order". For dates use filters with start_date/end_date. Example: {"start_date":{"gte":"2025-11-23"},"end_date":{"lte":"2025-11-25"}}

Modality → Create

AI-generated

Summary

Create a new modality record in the Confirm8 system by sending JSON-formatted data to the API.

Inputs

  • Base URL (required) — The base URL of the Confirm8 API (e.g., https://api.confirm8.com).
  • Bearer Token (required) — Authentication token for bearer authorization header.
  • X-API-DOMAIN (required) — The X-API-DOMAIN header value for the API request.
  • X-APIKEY-TOKEN (required) — The X-APIKEY-TOKEN header value for the API request.
  • Data (required) — JSON string representing the data for the new modality to create.
  • Filters — Optional JSON filters (not generally applicable to create operation).

Output shape

a single record containing the API response JSON under the 'data' property, along with metadata fields specifying the normalized resource and operation, HTTP method, endpoint, full URL, relations included, and any applied filters.

The operation sends a POST request to the /v3/modalities endpoint. The filters input is accepted but not used in creation requests. The output always indicates success or failure, with error messages included in failure cases.

Examples

Example 1: Create a modality with specific details

Set Base URL, Bearer Token, X-API-DOMAIN, X-APIKEY-TOKEN with valid credentials and provide the modality details as a JSON string in the Data parameter.

Discussion