interface components { headers : { RateLimitLimit : number ; RateLimitRemaining : number ; RateLimitReset : number ; RetryAfter : number ; } ; parameters : { BroadcastIdempotencyKey : string ; IdempotencyKey : string ; MetaRemoteWriteIdempotencyKey : string ; WaberyVersion : "2026-06-18" ; } ; pathItems : never ; requestBodies : never ; responses : { RateLimited : { content : { "application/json" : { error : string ; issues ?: { [ key : string ]: unknown } ; message ?: string ; request_id ?: string ; required_scope ?: string ; } & { [ key : string ]: unknown } ; "application/problem+json" : { code ?: string ; detail ?: string ; instance ?: string ; status : number ; title : string ; type : string ; } & { [ key : string ]: unknown } ; } ; headers : { "RateLimit-Limit" : number ; "RateLimit-Remaining" : number ; "RateLimit-Reset" : number ; "Retry-After" : number ; [ name : string ]: unknown ; } ; } ; } ; schemas : { Broadcast : { canceled_at ?: null | string ; category : "marketing" | "utility" ; channel_id ?: string ; completed_at ?: null | string ; counts : { [ key : string ]: number } ; created_at ?: string ; failure ?: null | { code ?: null | string ; message ?: null | string } ; fallback_language ?: string ; id : string ; name : string ; object : "broadcast" ; schedule_timezone ?: null | string ; scheduled_at ?: null | string ; started_at ?: null | string ; status : | "completed" | "ready" | "draft" | "preparing" | "scheduled" | "sending" | "canceled" | "failed" ; template_name ?: string ; updated_at ?: string ; } ; BroadcastCreateRequest : { category : "UTILITY" | "MARKETING" ; channelId : string ; fallbackLanguage : string ; name : string ; templateName : string ; variants : { language : string ; parameterMappings : { [ key : string ]: unknown } [] ; templateId : string ; } [] ; } ; BroadcastLifecycleWebhookPayload : { category ?: "marketing" | "utility" ; channel_id ?: string ; counts : { [ key : string ]: number } ; event : | "broadcast.started" | "broadcast.completed" | "broadcast.canceled" | "broadcast.failed" ; failure ?: null | { code ?: null | string ; message ?: null | string } ; id : string ; object : "broadcast" ; occurred_at : string ; status : | "completed" | "ready" | "draft" | "preparing" | "scheduled" | "sending" | "canceled" | "failed" ; template_name ?: string ; } ; BusinessAgent : { channel_id : string ; created_at : string ; eligibility ?: null | { [ key : string ]: unknown } ; error_message ?: null | string ; id : string ; meta_agent_id ?: null | string ; object : "business_agent" ; project_id : string ; settings ?: null | { [ key : string ]: unknown } ; status : "DRAFT" | "PROVISIONING" | "ACTIVE" | "DISABLED" | "ERROR" ; updated_at : string ; } ; BusinessAgentAllowlistRequest : { consumer_phone_number : string } ; BusinessAgentApplyRequest : { channel_id : string ; enabled ?: boolean ; handoff ?: { [ key : string ]: unknown } ; knowledge ?: { [ key : string ]: unknown } ; language ?: string ; persona ?: string ; } & { [ key : string ]: unknown } ; BusinessAgentConnector : { business_agent_id : string ; config ?: null | { [ key : string ]: unknown } ; created_at : string ; id : string ; meta_connector_id ?: null | string ; name : string ; object : "business_agent_connector" ; status : string ; tools ?: { backing_flow_id ?: null | string ; backing_function_id ?: null | string ; backing_function_version_id : null | string ; backing_type : "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION" ; connector_id : string ; created_at : string ; description ?: null | string ; id : string ; input_schema ?: null | { [ key : string ]: unknown } ; meta_tool_id ?: null | string ; name : string ; object : "business_agent_connector_tool" ; updated_at : string ; } [] ; type : string ; updated_at : string ; } ; BusinessAgentConnectorApiKeyRequest : { api_key_config : { [ key : string ]: unknown } ; } ; BusinessAgentConnectorCertificateRequest : { ca_certificate ?: string ; client_certificate : string ; client_key : string ; } ; BusinessAgentConnectorCreateRequest : { business_agent_id : string ; config ?: { [ key : string ]: unknown } ; name : string ; status ?: string ; type : string ; } & { [ key : string ]: unknown } ; BusinessAgentConnectorOAuthRequest : { oauth_config : { client_id : string ; client_secret : string ; scopes_to_request : string [] ; token_url : string ; } ; } ; BusinessAgentConnectorTool : { backing_flow_id ?: null | string ; backing_function_id ?: null | string ; backing_function_version_id : null | string ; backing_type : "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION" ; connector_id : string ; created_at : string ; description ?: null | string ; id : string ; input_schema ?: null | { [ key : string ]: unknown } ; meta_tool_id ?: null | string ; name : string ; object : "business_agent_connector_tool" ; updated_at : string ; } ; BusinessAgentConnectorToolCreateRequest : { backing_flow_id ?: string ; backing_function_id ?: string ; backing_type : "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION" ; config ?: { [ key : string ]: unknown } ; description ?: string ; input_schema ?: { [ key : string ]: unknown } ; name : string ; } & { [ key : string ]: unknown } ; BusinessAgentConnectorToolRunRequest : { arguments : { [ key : string ]: unknown } ; } ; BusinessAgentConnectorToolUpdateRequest : { backing_flow_id ?: null | string ; backing_function_id ?: null | string ; backing_type ?: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION" ; config ?: { [ key : string ]: unknown } ; description ?: null | string ; input_schema ?: null | { [ key : string ]: unknown } ; name ?: string ; } & { [ key : string ]: unknown } ; BusinessAgentConnectorUpdateRequest : { config ?: { [ key : string ]: unknown } ; name ?: string ; status ?: string ; type ?: string ; } & { [ key : string ]: unknown } ; BusinessAgentEligibilityResponse : { channel_id : string ; eligibility : { [ key : string ]: unknown } ; object : "business_agent_eligibility" ; } ; BusinessAgentEvalResponse : { business_agent_id : string ; object : "business_agent_eval" ; result : { [ key : string ]: unknown } ; } ; BusinessAgentEventRequest : { [ key : string ]: unknown } ; BusinessAgentRemoteWriteResolveRequest : { action : "adopt" | "resolve" ; approved : true ; remote_id : string ; } ; BusinessAgentResourceRequest : { [ key : string ]: unknown } ; BusinessAgentSettingsRequest : { enabled ?: boolean ; handoff ?: { [ key : string ]: unknown } ; knowledge ?: { [ key : string ]: unknown } ; language ?: string ; persona ?: string ; } & { [ key : string ]: unknown } ; BusinessAgentSettingsResponse : { business_agent_id : string ; object : "business_agent_settings" ; settings : { [ key : string ]: unknown } ; } ; BusinessAgentSkillRequest : { description ?: string ; skill ?: string ; title ?: string ; } ; BusinessAgentSkillsResponse : { business_agent_id : string ; data : unknown [] ; object : "business_agent_skills" ; result ?: { [ key : string ]: unknown } ; } & { [ key : string ]: unknown } ; BusinessAgentTestRequest : { business_agent_id : string ; conversation_id ?: string ; user_msg : string ; } ; BusinessAgentTestResponse : { business_agent_id : string ; object : "business_agent_test" ; result : { [ key : string ]: unknown } ; } ; Channel : { channel_id ?: string ; display_name ?: null | string ; id ?: string ; is_sandbox ?: boolean ; number_mode ?: string ; object ?: "channel" ; phone_number ?: null | string ; platform ?: | "WHATSAPP" | "INSTAGRAM" | "MESSENGER" | "SMS" | "TELEGRAM" | "EMAIL" ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: (
| "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )
[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; routing_mode ?: "AGENT" | "EXTERNAL" ; routing_warning ?: null | string ; status ?: string ; } ; ConfigApplyResponse : { applied ?: { hosted_agents ?: { action_required ?: | null | "CREATE_AGENT" | "SELECT_AI_MODEL" | "ADD_PAYMENT_METHOD" | "ADD_FUNDS" ; ai_enabled : boolean ; id : string ; key ?: string ; project_id : string ; runtime_mode : "ai_ready" | "automations_only" | "not_operational" ; status ?: string ; } [] ; } ; config ?: { $schema ?: string ; automations : { active ?: boolean ; key : string ; name : string ; steps : (
| { send_reply : { buttons ?: (...)
| (...)
; text : string } } | { delay : { minutes : number } } | { wait_reply : { options ?: (...)
| (...)
; timeout_hours ?: (...)
| (...)
; } ; } | { pause_replies : { reason ?: (...)
| (...)
} } | { send_flow : { body_text ?: (...)
| (...)
; flow : string ; flow_cta ?: (...)
| (...)
; footer_text ?: (...)
| (...)
; header_text ?: (...)
| (...)
; } ; } | { run_function : { function : string ; reply_field ?: (...)
| (...)
; result_mode ?: (...)
| (...)
| (...)
| (...)
; variable_name ?: (...)
| (...)
; } ; } )
[] ; trigger : { keywords ?: string [] ; match_mode ?: "EXACT" | "CONTAINS" | "CONTAINS_WORD" ; type : "KEYWORD" | "WELCOME" | "ANY_MESSAGE" ; } ; } [] ; business_agent ?: { channel_id ?: string ; connectors ?: { [ key : string ]: unknown } [] ; enabled : boolean ; faqs ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; operation_id : string ; settings : { enabled ?: boolean ; handoff ?: { [ key : string ]: unknown } ; knowledge ?: { [ key : string ]: unknown } ; language ?: string ; persona ?: string ; } & { [ key : string ]: unknown } ; skills ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; ui_skills ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; websites ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; } ; flows : { agent_id ?: string ; data_exchange_url ?: null | string ; description ?: string ; draft ?: { entryScreenId ?: string ; screens ?: (...)
[] } & { [ key : string ]: unknown ; } ; flow_json ?: { screens ?: (...)
[] ; version ?: string } & { [ key : string ]: unknown ; } ; key : string ; locale ?: string ; name : string ; project_id ?: string ; runtime_mode ?: "STATIC" | "DATA_EXCHANGE" ; } [] ; hosted_agents ?: { allowed_topics : string [] ; channel_ids : string [] ; conversation_messages ?: { cannot_listen ?: string ; clarification : string ; farewell : string ; greeting : string ; out_of_scope : string ; } ; fallback : { automation_id ?: string ; message ?: string ; policy : "SILENT" | "CLARIFICATION" | "HUMAN_HANDOFF" | "AUTOMATION" ; } ; instructions : string ; key : string ; knowledge : { content ?: string ; title : string ; type : "TEXT" | "FAQ" | "URL" ; url ?: string ; } [] ; language : string ; max_input_chars : number ; max_output_tokens : number ; max_run_cost_micros : number ; model : string ; monthly_budget_micros : number ; name : string ; project_id ?: string ; purpose ?: string ; status ?: "DRAFT" | "DISABLED" ; } [] ; project_id ?: string ; require_opt_in ?: boolean ; version ?: string ; } ; diff : { action ?: "delete" | "create" | "update" | "unchanged" ; details ?: string [] ; key ?: string ; requiresActivation ?: boolean ; risk ?: "low" | "medium" | "high" ; type ?: | "business_agent" | "business_agent_connector" | "flow" | "project" | "hosted_agent" | "hosted_agent_assignment" | "hosted_agent_knowledge" | "automation" | "webhook" | "business_agent_tool" ; } [] ; issues : { message ?: string ; path ?: string ; severity ?: "warning" | "error" ; } [] ; object : "config_apply" ; valid : boolean ; } ; ConfigDiffItem : { action ?: "delete" | "create" | "update" | "unchanged" ; details ?: string [] ; key ?: string ; requiresActivation ?: boolean ; risk ?: "low" | "medium" | "high" ; type ?: | "business_agent" | "business_agent_connector" | "flow" | "project" | "hosted_agent" | "hosted_agent_assignment" | "hosted_agent_knowledge" | "automation" | "webhook" | "business_agent_tool" ; } ; ConfigDiffResponse : { diff : { action ?: "delete" | "create" | "update" | "unchanged" ; details ?: string [] ; key ?: string ; requiresActivation ?: boolean ; risk ?: "low" | "medium" | "high" ; type ?: | "business_agent" | "business_agent_connector" | "flow" | "project" | "hosted_agent" | "hosted_agent_assignment" | "hosted_agent_knowledge" | "automation" | "webhook" | "business_agent_tool" ; } [] ; issues : { message ?: string ; path ?: string ; severity ?: "warning" | "error" ; } [] ; object : "config_diff" ; valid : boolean ; } ; ConfigIssue : { message ?: string ; path ?: string ; severity ?: "warning" | "error" ; } ; ConfigValidationResponse : { config ?: { $schema ?: string ; automations : { active ?: boolean ; key : string ; name : string ; steps : (
| { send_reply : { buttons ?: (...)
| (...)
; text : string } } | { delay : { minutes : number } } | { wait_reply : { options ?: (...)
| (...)
; timeout_hours ?: (...)
| (...)
; } ; } | { pause_replies : { reason ?: (...)
| (...)
} } | { send_flow : { body_text ?: (...)
| (...)
; flow : string ; flow_cta ?: (...)
| (...)
; footer_text ?: (...)
| (...)
; header_text ?: (...)
| (...)
; } ; } | { run_function : { function : string ; reply_field ?: (...)
| (...)
; result_mode ?: (...)
| (...)
| (...)
| (...)
; variable_name ?: (...)
| (...)
; } ; } )
[] ; trigger : { keywords ?: string [] ; match_mode ?: "EXACT" | "CONTAINS" | "CONTAINS_WORD" ; type : "KEYWORD" | "WELCOME" | "ANY_MESSAGE" ; } ; } [] ; business_agent ?: { channel_id ?: string ; connectors ?: { [ key : string ]: unknown } [] ; enabled : boolean ; faqs ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; operation_id : string ; settings : { enabled ?: boolean ; handoff ?: { [ key : string ]: unknown } ; knowledge ?: { [ key : string ]: unknown } ; language ?: string ; persona ?: string ; } & { [ key : string ]: unknown } ; skills ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; ui_skills ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; websites ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; } ; flows : { agent_id ?: string ; data_exchange_url ?: null | string ; description ?: string ; draft ?: { entryScreenId ?: string ; screens ?: (...)
[] } & { [ key : string ]: unknown ; } ; flow_json ?: { screens ?: (...)
[] ; version ?: string } & { [ key : string ]: unknown ; } ; key : string ; locale ?: string ; name : string ; project_id ?: string ; runtime_mode ?: "STATIC" | "DATA_EXCHANGE" ; } [] ; hosted_agents ?: { allowed_topics : string [] ; channel_ids : string [] ; conversation_messages ?: { cannot_listen ?: string ; clarification : string ; farewell : string ; greeting : string ; out_of_scope : string ; } ; fallback : { automation_id ?: string ; message ?: string ; policy : "SILENT" | "CLARIFICATION" | "HUMAN_HANDOFF" | "AUTOMATION" ; } ; instructions : string ; key : string ; knowledge : { content ?: string ; title : string ; type : "TEXT" | "FAQ" | "URL" ; url ?: string ; } [] ; language : string ; max_input_chars : number ; max_output_tokens : number ; max_run_cost_micros : number ; model : string ; monthly_budget_micros : number ; name : string ; project_id ?: string ; purpose ?: string ; status ?: "DRAFT" | "DISABLED" ; } [] ; project_id ?: string ; require_opt_in ?: boolean ; version ?: string ; } ; issues : { message ?: string ; path ?: string ; severity ?: "warning" | "error" ; } [] ; object : "config_validation" ; valid : boolean ; } ; Contact : { channel ?: { channel_id ?: string ; display_name ?: null | string ; id ?: string ; is_sandbox ?: boolean ; number_mode ?: string ; object ?: "channel" ; phone_number ?: null | string ; platform ?: | "WHATSAPP" | "INSTAGRAM" | "MESSENGER" | "SMS" | "TELEGRAM" | "EMAIL" ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: (
| "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )
[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; routing_mode ?: "AGENT" | "EXTERNAL" ; routing_warning ?: null | string ; status ?: string ; } ; channel_id ?: string ; contact_id : string ; id : string ; object : "contact" ; phone ?: null | string ; preferred_language ?: null | string ; project_id ?: string ; reference_id ?: null | string ; status ?: string ; } ; ContactDeleteResponse : { deleted : true ; deleted_data_types ?: string [] ; erased : boolean ; id : string ; object : "contact" ; } ; ContactImport : { created_count ?: number ; error_count ?: number ; errors_available ?: boolean ; filename : string ; id : string ; object : "contact_import" ; processed_rows ?: number ; skipped_count ?: number ; status : string ; total_rows ?: number ; updated_count ?: number ; } ; Conversation : { contact_id ?: string ; conversation_id ?: string ; created_at ?: string ; id ?: string ; is_active ?: boolean ; last_channel_id ?: null | string ; last_message_at ?: null | string ; name ?: null | string ; object ?: "conversation" ; phone ?: null | string ; reference_id ?: null | string ; started_at ?: string ; updated_at ?: string ; } ; Error : { error : string ; issues ?: { [ key : string ]: unknown } ; message ?: string ; request_id ?: string ; required_scope ?: string ; } & { [ key : string ]: unknown } ; Flow : { agent_id ?: string ; config_key ?: null | string ; created_at ?: string ; description ?: null | string ; field_schema ?: null | { [ key : string ]: unknown } [] ; flow_json ?: null | { [ key : string ]: unknown } ; id ?: string ; last_synced_at ?: null | string ; locale ?: null | string ; meta_flow_id ?: null | string ; meta_status ?: null | string ; meta_status_reason ?: null | string ; meta_waba_id ?: null | string ; name ?: string ; object ?: "flow" ; published_version ?: null | number ; runtime_mode ?: "STATIC" | "DATA_EXCHANGE" ; status ?: "DRAFT" | "PUBLISHED" | "DEPRECATED" ; updated_at ?: string ; validation_errors ?: null | { [ key : string ]: unknown } [] ; } ; FlowDeleteResponse : { deleted : true ; id : string ; meta_deleted ?: boolean ; meta_error ?: null | string ; object : "flow" ; } ; FlowDispatch : { agent_id ?: string ; channel_id ?: string ; completed_at ?: null | string ; contact_id ?: null | string ; conversation_id ?: null | string ; created_at ?: string ; expires_at ?: string ; flow_id ?: string ; flow_token ?: string ; id ?: string ; object ?: "flow_dispatch" ; status ?: "SENT" | "COMPLETED" | "EXPIRED" ; to ?: null | string ; } ; FlowEvent : { created_at : string ; data ?: null | { [ key : string ]: unknown } ; id : string ; level : "info" | "error" | "warn" ; message ?: null | string ; object : "flow_event" ; submission_id ?: null | string ; type : string ; } ; FlowPublishResponse : { flow_id : string ; job_id : string ; meta_status ?: null | string ; object : "flow_publish" ; status : "queued" ; version ?: number ; } ; FlowSendResponse : { contact_id ?: null | string ; conversation_id ?: null | string ; flow_id : string ; flow_token : string ; id : string ; locale ?: null | string ; object : "flow_dispatch" ; status : "queued" ; } ; FlowSubmission : { agent_id ?: string ; contact_id ?: null | string ; conversation_id ?: null | string ; created_at ?: string ; flow_id ?: string ; flow_token ?: string ; from ?: null | string ; id ?: string ; object ?: "flow_submission" ; status ?: "RECEIVED" | "VALIDATED" | "REJECTED" | "FORWARDED" ; submission ?: { [ key : string ]: unknown } ; } ; FriendlyIssue : { area ?: string ; code ?: string ; message ?: string ; next_steps ?: string [] ; severity ?: "info" | "warning" | "blocked" ; title ?: string ; } ; FunctionCreateRequest : { egress_allowed_hosts ?: string [] ; name : string ; slug : string ; trigger_type : "KEYWORD" | "WELCOME" | "ANY_MESSAGE" ; } ; FunctionDeleteResponse : { deleted ?: boolean ; id ?: string ; object ?: "hosted_function" ; } ; FunctionDeployRequest : { source : string } ; FunctionDeployResponse : { bytes ?: number ; diagnostics ?: string [] ; function_id ?: string ; object ?: "function_deploy" ; status ?: "ok" | "error" ; version_id ?: string ; } ; FunctionInvocation : { cpu_ms ?: null | number ; error ?: null | string ; event_type ?: string ; id ?: string ; logs ?: unknown ; started_at ?: string ; status ?: string ; sub_requests ?: null | number ; } ; FunctionInvokeRequest : { arguments ?: { [ key : string ]: unknown } ; contact_id ?: string ; contact_phone ?: string ; } ; FunctionInvokeResponse : { error ?: string ; function_id ?: string ; object ?: "function_invoke" ; result ?: unknown ; } ; FunctionTestRequest : { contact ?: { id : string ; name ?: string ; phone : string } ; text ?: string ; } ; FunctionTestResponse : { error ?: string ; function_id ?: string ; object ?: "function_test" ; result ?: unknown ; } ; FunctionUpdateRequest : { egress_allowed_hosts ?: string [] ; expose_as_mcp_tool ?: boolean ; input_schema ?: { [ key : string ]: unknown } ; is_active ?: boolean ; name ?: string ; } ; HostedFunction : { active_version_id : null | string ; created_at : string ; egress_allowed_hosts : string [] ; expose_as_mcp_tool : boolean ; id : string ; input_schema ?: null | { [ key : string ]: unknown } ; is_active : boolean ; name : string ; object : "hosted_function" ; runtime : "PLAIN" | "WFP" ; script_name : string ; slug : string ; source ?: null | string ; trigger_type : "KEYWORD" | "WELCOME" | "ANY_MESSAGE" ; updated_at : string ; } ; Identity : { api_key : { display ?: null | string ; id ?: string ; name ?: null | string ; prefix ?: null | string ; scopes ?: string [] ; } ; api_version ?: string ; object : "identity" ; organization : { id ?: string ; name ?: null | string } ; plan ?: null | string ; project : { id ?: string ; name ?: null | string } ; } ; ListMeta : { has_more ?: boolean ; object : "list" } ; Message : { channel_id ?: string ; contact_id ?: string ; content ?: null | string ; conversation_id ?: null | string ; direction ?: "inbound" | "outbound" ; failure ?: | null | { code ?: null | string | number ; fbtrace_id ?: null | string ; http_status ?: null | number ; message ?: string ; occurred_at ?: string ; provider ?: "meta" | "wabery" ; subcode ?: null | string | number ; summary ?: string ; title ?: null | string ; type ?: null | string ; } ; id ?: string ; media ?: | null | { access_policy ?: string ; accessible ?: boolean ; error_code ?: null | string ; expires_at ?: null | string ; file_name ?: null | string ; file_size ?: null | number ; mime_type ?: null | string ; note ?: null | string ; provider ?: null | "whatsapp" | "instagram" | "messenger" ; provider_media_id ?: null | string ; status ?: "expired" | "available" | "unavailable" ; type ?: null | string ; url ?: null | string ; whatsapp_media_id ?: null | string ; } ; message_id ?: string ; object ?: "message" ; platform_message_id ?: null | string ; status ?: string ; timestamp ?: string ; type ?: string ; } ; MessageSendRequest : { channel_id : string ; contacts ?: { [ key : string ]: unknown } [] ; conversation_id ?: string ; group_id ?: string ; idempotency_key ?: string ; interactive ?: { [ key : string ]: unknown } ; location ?: { address ?: string ; latitude : number ; longitude : number ; name ?: string ; } ; media ?: { type?: "document" | "image" | "video" | "audio" | undefined; link?: string | undefined; id?: string | undefined; caption?: string | undefined; filename?: string | undefined; } & ({ ...; } | { ...; })
; pin ?: | { expiration_days : number ; message_id : string ; type : "pin" } | { message_id : string ; type : "unpin" } ; reaction ?: { emoji : string ; message_id : string } ; reply_to ?: string ; sticker ?: { id?: string | undefined; link?: string | undefined; } & ({ id: string; link?: undefined; } | { link: string; id?: undefined; })
; template ?: { components ?: { [ key : string ]: unknown } [] ; id ?: string ; language ?: string ; name ?: string ; } ; text ?: string ; to ?: string ; } ; MessageSendResponse : { contact_id : string ; conversation_id : string ; id : string ; idempotency_key : string ; object : "message" ; status : "queued" ; } ; MetaDeclarativeResource : { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } ; OnboardingHandoff : { channel_id ?: null | string ; completed_at ?: null | string ; connection_mode ?: string ; created_at ?: string ; expires_at ?: string ; id ?: string ; object ?: "onboarding_handoff" ; project_id ?: string ; status ?: "pending" | "completed" | "expired" | "revoked" ; type ?: "connect_whatsapp" ; } ; Problem : { code ?: string ; detail ?: string ; instance ?: string ; status : number ; title : string ; type : string ; } & { [ key : string ]: unknown } ; Project : { automatic_read_receipts ?: boolean ; channel_id ?: null | string ; created_at ?: string ; description ?: null | string ; enrollment_channel ?: | null | { channel_id ?: string ; display_name ?: null | string ; id ?: string ; is_sandbox ?: boolean ; number_mode ?: string ; object ?: "channel" ; phone_number ?: null | string ; platform ?: | "WHATSAPP" | "INSTAGRAM" | "MESSENGER" | "SMS" | "TELEGRAM" | "EMAIL" ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: (
| "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )
[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; routing_mode ?: "AGENT" | "EXTERNAL" ; routing_warning ?: null | string ; status ?: string ; } ; flow_count ?: number ; id ?: string ; join_code ?: string ; name ?: string ; object ?: "project" ; participant_count ?: number ; project_id ?: string ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: (
| "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )
[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; require_opt_in ?: boolean ; routing_mode ?: string ; updated_at ?: string ; webhook_secret ?: null | string ; webhook_signing_enabled ?: boolean ; webhook_url ?: null | string ; } ; ProjectReadiness : { agent_runtime : { action_required ?: | null | "CREATE_AGENT" | "SELECT_AI_MODEL" | "ADD_PAYMENT_METHOD" | "ADD_FUNDS" ; ai_enabled : boolean ; available_balance_micros : number ; has_useful_automations : boolean ; mode : "ai_ready" | "automations_only" | "not_operational" ; runtime_model ?: null | string ; selected_model ?: null | string ; } ; capabilities ?: { [ key : string ]: { message ?: string ; status ?: | "warning" | "blocked" | "ready" | "testable" | "not_applicable" ; } ; } ; dedicated_channel ?: | null | { channel_id ?: string ; display_name ?: null | string ; id ?: string ; is_sandbox ?: boolean ; number_mode ?: string ; object ?: "channel" ; phone_number ?: null | string ; platform ?: | "WHATSAPP" | "INSTAGRAM" | "MESSENGER" | "SMS" | "TELEGRAM" | "EMAIL" ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: (
| "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )
[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; routing_mode ?: "AGENT" | "EXTERNAL" ; routing_warning ?: null | string ; status ?: string ; } ; effective_channel ?: | null | { channel_id ?: string ; display_name ?: null | string ; id ?: string ; is_sandbox ?: boolean ; number_mode ?: string ; object ?: "channel" ; phone_number ?: null | string ; platform ?: | "WHATSAPP" | "INSTAGRAM" | "MESSENGER" | "SMS" | "TELEGRAM" | "EMAIL" ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: (
| "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )
[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; routing_mode ?: "AGENT" | "EXTERNAL" ; routing_warning ?: null | string ; status ?: string ; } ; issues ?: { area ?: string ; code ?: string ; message ?: string ; next_steps ?: string [] ; severity ?: "info" | "warning" | "blocked" ; title ?: string ; } [] ; next_steps ?: string [] ; object : "project_readiness" ; overall_status ?: string ; production_inbound_ready ?: boolean ; project_id : string ; project_name ?: string ; requirements ?: string [] ; sandbox_channel ?: | null | { channel_id ?: string ; display_name ?: null | string ; id ?: string ; is_sandbox ?: boolean ; number_mode ?: string ; object ?: "channel" ; phone_number ?: null | string ; platform ?: | "WHATSAPP" | "INSTAGRAM" | "MESSENGER" | "SMS" | "TELEGRAM" | "EMAIL" ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: (
| "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )
[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; routing_mode ?: "AGENT" | "EXTERNAL" ; routing_warning ?: null | string ; status ?: string ; } ; sandbox_testable ?: boolean ; } ; ProjectWebhookSecret : { object : "project_webhook_secret" ; project_id : string ; webhook_secret : string ; } ; PublicApiLimits : { monthly_quota ?: { period ?: string ; requests : number ; scope ?: "api_key" ; } ; object ?: "public_api_limits" ; rate_limit ?: { requests : number ; scope ?: "api_key" ; window_seconds : number ; } ; } ; PublishReadiness : { account_review_status ?: null | string ; blockers ?: (
| "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )
[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; RegistrationIntent : { expires_at : string ; id : string ; mode ?: "test" | "live" ; object : "registration_intent" ; prefilled_message ?: string ; status ?: "PENDING" ; token : string ; wa_link : string ; whatsapp_number ?: string ; } ; TemplateCreateRequest : { category : "UTILITY" | "MARKETING" | "AUTHENTICATION" ; channel_id : string ; components : { [ key : string ]: unknown } [] ; language : string ; name : string ; parameter_format ?: "POSITIONAL" | "NAMED" ; } ; ThreadControlRequest : { action : "take" | "release" | "pass" ; business_agent_id ?: string ; channel_id : string ; contact_id : string ; metadata ?: string ; pass_to_meta ?: boolean ; reason ?: string ; to : string ; } ; ThreadControlState : { business_agent_id ?: null | string ; channel_id : string ; contact_id : string ; created_at : string ; id : string ; meta_result ?: { messaging_product ?: string ; request_id ?: string } & { [ key : string ]: unknown ; } ; meta_thread_id ?: null | string ; object : "thread_control_state" ; observation ?: "local" ; operation_id ?: string ; owner : "META_AGENT" | "WABERY" | "BUSINESS_INBOX" | "UNKNOWN" | "PENDING" ; project_id : string ; reason ?: null | string ; replayed ?: boolean ; updated_at : string ; } & { [ key : string ]: unknown } ; WaberyConfig : { $schema ?: string ; automations : { active ?: boolean ; key : string ; name : string ; steps : (
| { send_reply : { buttons ?: { id : ...
; title : ...
} [] ; text : string } ; } | { delay : { minutes : number } } | { wait_reply : { options ?: { id : ...
; keywords ?: ...
; label : ...
; matchMode ?: ...
} [] ; timeout_hours ?: number ; } ; } | { pause_replies : { reason ?: string } } | { send_flow : { body_text ?: string ; flow : string ; flow_cta ?: string ; footer_text ?: string ; header_text ?: string ; } ; } | { run_function : { function : string ; reply_field ?: string ; result_mode ?: "reply" | "variables" | "side_effect" ; variable_name ?: string ; } ; } )
[] ; trigger : { keywords ?: string [] ; match_mode ?: "EXACT" | "CONTAINS" | "CONTAINS_WORD" ; type : "KEYWORD" | "WELCOME" | "ANY_MESSAGE" ; } ; } [] ; business_agent ?: { channel_id ?: string ; connectors ?: { [ key : string ]: unknown } [] ; enabled : boolean ; faqs ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; operation_id : string ; settings : { enabled ?: boolean ; handoff ?: { [ key : string ]: unknown } ; knowledge ?: { [ key : string ]: unknown } ; language ?: string ; persona ?: string ; } & { [ key : string ]: unknown } ; skills ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; ui_skills ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; websites ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; } ; flows : { agent_id ?: string ; data_exchange_url ?: null | string ; description ?: string ; draft ?: { entryScreenId ?: string ; screens ?: { [ key : string ]: unknown } [] ; } & { [ key : string ]: unknown } ; flow_json ?: { screens ?: Record < string , never > [] ; version ?: string } & { [ key : string ]: unknown ; } ; key : string ; locale ?: string ; name : string ; project_id ?: string ; runtime_mode ?: "STATIC" | "DATA_EXCHANGE" ; } [] ; hosted_agents ?: { allowed_topics : string [] ; channel_ids : string [] ; conversation_messages ?: { cannot_listen ?: string ; clarification : string ; farewell : string ; greeting : string ; out_of_scope : string ; } ; fallback : { automation_id ?: string ; message ?: string ; policy : "SILENT" | "CLARIFICATION" | "HUMAN_HANDOFF" | "AUTOMATION" ; } ; instructions : string ; key : string ; knowledge : { content ?: string ; title : string ; type : "TEXT" | "FAQ" | "URL" ; url ?: string ; } [] ; language : string ; max_input_chars : number ; max_output_tokens : number ; max_run_cost_micros : number ; model : string ; monthly_budget_micros : number ; name : string ; project_id ?: string ; purpose ?: string ; status ?: "DRAFT" | "DISABLED" ; } [] ; project_id ?: string ; require_opt_in ?: boolean ; version ?: string ; } ; WhatsAppGroup : { channel_id : string ; created_at ?: null | string ; creation_timestamp ?: null | number ; description ?: null | string ; group_id ?: string ; id : string ; invite_link ?: null | string ; join_approval_mode : null | "auto_approve" | "approval_required" ; object : "whatsapp_group" ; participants : { id : string ; id_type : "user_id" | "wa_id" ; name ?: null | string ; parent_user_id ?: null | string ; phone ?: null | string ; user ?: string ; user_id : null | string ; username ?: null | string ; wa_id : null | string ; } [] ; subject : null | string ; suspended : null | boolean ; total_participant_count : null | number ; } ; WhatsAppGroupConversation : { contact_id ?: null ; conversation_id ?: string ; created_at ?: string ; group_id ?: null | string ; group_subject ?: null | string ; id ?: string ; is_active ?: boolean ; last_channel_id ?: null | string ; last_message_at ?: null | string ; name ?: null | string ; object ?: "conversation" ; phone ?: null | string ; reference_id ?: null | string ; started_at ?: string ; updated_at ?: string ; } ; WhatsAppGroupCreateProcessingResponse : { idempotency_key : string ; object : "api_operation" ; reconciliation : "provider" | "local_persistence" ; status : "processing" ; } ; WhatsAppGroupInviteLink : { channel_id : string ; group_id : string ; invite_link : string ; object : "whatsapp_group_invite_link" ; } ; WhatsAppGroupJoinRequest : { created_at ?: null | string ; creation_timestamp ?: null | number ; group_id ?: string ; id : string ; join_request_id : string ; parent_user_id ?: string ; user_id ?: string ; username ?: string ; wa_id ?: string ; } ; WhatsAppGroupJoinRequestMutation : { approved_join_requests ?: string [] ; failed_join_requests ?: Record < string , never > [] ; rejected_join_requests ?: string [] ; } ; WhatsAppGroupMessage : { channel_id ?: string ; contact_id ?: null ; content ?: null | string ; conversation_id ?: null | string ; direction ?: "inbound" | "outbound" ; failure ?: | null | { code ?: null | string | number ; fbtrace_id ?: null | string ; http_status ?: null | number ; message ?: string ; occurred_at ?: string ; provider ?: "meta" | "wabery" ; subcode ?: null | string | number ; summary ?: string ; title ?: null | string ; type ?: null | string ; } ; group_id ?: null | string ; group_subject ?: null | string ; id ?: string ; identity_key_hash ?: null | string ; media ?: | null | { access_policy ?: string ; accessible ?: boolean ; error_code ?: null | string ; expires_at ?: null | string ; file_name ?: null | string ; file_size ?: null | number ; mime_type ?: null | string ; note ?: null | string ; provider ?: null | "whatsapp" | "instagram" | "messenger" ; provider_media_id ?: null | string ; status ?: "expired" | "available" | "unavailable" ; type ?: null | string ; url ?: null | string ; whatsapp_media_id ?: null | string ; } ; message_id ?: string ; object ?: "message" ; platform_message_id ?: null | string ; sender_participant ?: null | string ; status ?: string ; timestamp ?: string ; type ?: string ; } ; WhatsAppGroupMessageProcessingResponse : { acceptance_unknown ?: boolean ; idempotency_key : string ; object : "message_request" ; provider_accepted ?: boolean ; reconciliation : "provider" | "local_persistence" ; status : "processing" ; } ; WhatsAppGroupMessageSendResponse : { conversation_id : string ; group_id : string ; id : string ; idempotency_key : string ; object : "message" ; provider_message_id : string ; status : "sent" ; } ; WhatsAppGroupOperation : { channel_id : string ; group_id : null | string ; idempotent_replay ?: boolean ; object : "whatsapp_group_operation" ; operation : "delete" | "create" | "update" ; request_id : null | string ; status : "pending" ; } ; WhatsAppGroupParticipant : { id : string ; id_type : "user_id" | "wa_id" ; name ?: null | string ; parent_user_id ?: null | string ; phone ?: null | string ; user ?: string ; user_id : null | string ; username ?: null | string ; wa_id : null | string ; } ; WhatsAppGroupParticipantMutation : { failed_participants ?: { errors ?: Record < string , never > [] ; input ?: string ; user_id ?: string ; } [] ; removed_participants ?: string [] ; } ; WhatsAppManagementResponse : { [ key : string ]: unknown } ; WhatsAppMessageWithContext : { channel_id ?: string ; contact_id ?: string ; content ?: null | string ; conversation_id ?: null | string ; direction ?: "inbound" | "outbound" ; failure ?: | null | { code ?: null | string | number ; fbtrace_id ?: null | string ; http_status ?: null | number ; message ?: string ; occurred_at ?: string ; provider ?: "meta" | "wabery" ; subcode ?: null | string | number ; summary ?: string ; title ?: null | string ; type ?: null | string ; } ; id ?: string ; media ?: | null | { access_policy ?: string ; accessible ?: boolean ; error_code ?: null | string ; expires_at ?: null | string ; file_name ?: null | string ; file_size ?: null | number ; mime_type ?: null | string ; note ?: null | string ; provider ?: null | "whatsapp" | "instagram" | "messenger" ; provider_media_id ?: null | string ; status ?: "expired" | "available" | "unavailable" ; type ?: null | string ; url ?: null | string ; whatsapp_media_id ?: null | string ; } ; message_id ?: string ; object ?: "message" ; platform_message_id ?: null | string ; status ?: string ; timestamp ?: string ; type ?: string ; } & { ctwa_clid ?: string ; identity_key_hash ?: string ; order ?: { [ key : string ]: unknown } ; referral ?: { [ key : string ]: unknown } ; referred_product ?: { [ key : string ]: unknown } ; } ; WhatsAppTemplate : { approved_at ?: null | string ; category ?: string ; channel_id ?: string ; components ?: { [ key : string ]: unknown } ; created_at ?: string ; id ?: string ; language ?: string ; last_synced_at ?: null | string ; meta_template_id ?: null | string ; name ?: string ; object ?: "whatsapp_template" ; rejected_at ?: null | string ; rejection_reason ?: null | string ; status ?: string ; submitted_at ?: string ; updated_at ?: string ; } ; WhatsAppUsername : { channel_id : string ; last_checked_at : string ; object : "whatsapp_username" ; status : null | "approved" | "reserved" ; username : null | string ; } ; WhatsAppUsernameSuggestions : { channel_id : string ; data : string [] ; object : "list" ; } ; } ; } Propertiesheaders headers : { RateLimitLimit : number ; RateLimitRemaining : number ; RateLimitReset : number ; RetryAfter : number ; }
Type declaration RateLimitLimit : number RateLimitRemaining : number RateLimitReset : number RetryAfter : number parameters parameters : { BroadcastIdempotencyKey : string ; IdempotencyKey : string ; MetaRemoteWriteIdempotencyKey : string ; WaberyVersion : "2026-06-18" ; }
Type declaration BroadcastIdempotencyKey : string IdempotencyKey : string MetaRemoteWriteIdempotencyKey : string WaberyVersion : "2026-06-18" path Items pathItems : never
request Bodies requestBodies : never
responses responses : { RateLimited : { content : { "application/json" : { error : string ; issues ?: { [ key : string ]: unknown } ; message ?: string ; request_id ?: string ; required_scope ?: string ; } & { [ key : string ]: unknown } ; "application/problem+json" : { code ?: string ; detail ?: string ; instance ?: string ; status : number ; title : string ; type : string ; } & { [ key : string ]: unknown } ; } ; headers : { "RateLimit-Limit" : number ; "RateLimit-Remaining" : number ; "RateLimit-Reset" : number ; "Retry-After" : number ; [ name : string ]: unknown ; } ; } ; }
Type declaration RateLimited : { content : { "application/json" : { error : string ; issues ?: { [ key : string ]: unknown } ; message ?: string ; request_id ?: string ; required_scope ?: string ; } & { [ key : string ]: unknown } ; "application/problem+json" : { code ?: string ; detail ?: string ; instance ?: string ; status : number ; title : string ; type : string ; } & { [ key : string ]: unknown } ; } ; headers : { "RateLimit-Limit" : number ; "RateLimit-Remaining" : number ; "RateLimit-Reset" : number ; "Retry-After" : number ; [ name : string ]: unknown ; } ; } schemas schemas : { Broadcast : { canceled_at ?: null | string ; category : "marketing" | "utility" ; channel_id ?: string ; completed_at ?: null | string ; counts : { [ key : string ]: number } ; created_at ?: string ; failure ?: null | { code ?: null | string ; message ?: null | string } ; fallback_language ?: string ; id : string ; name : string ; object : "broadcast" ; schedule_timezone ?: null | string ; scheduled_at ?: null | string ; started_at ?: null | string ; status : | "completed" | "ready" | "draft" | "preparing" | "scheduled" | "sending" | "canceled" | "failed" ; template_name ?: string ; updated_at ?: string ; } ; BroadcastCreateRequest : { category : "UTILITY" | "MARKETING" ; channelId : string ; fallbackLanguage : string ; name : string ; templateName : string ; variants : { language : string ; parameterMappings : { [ key : string ]: unknown } [] ; templateId : string ; } [] ; } ; BroadcastLifecycleWebhookPayload : { category ?: "marketing" | "utility" ; channel_id ?: string ; counts : { [ key : string ]: number } ; event : | "broadcast.started" | "broadcast.completed" | "broadcast.canceled" | "broadcast.failed" ; failure ?: null | { code ?: null | string ; message ?: null | string } ; id : string ; object : "broadcast" ; occurred_at : string ; status : | "completed" | "ready" | "draft" | "preparing" | "scheduled" | "sending" | "canceled" | "failed" ; template_name ?: string ; } ; BusinessAgent : { channel_id : string ; created_at : string ; eligibility ?: null | { [ key : string ]: unknown } ; error_message ?: null | string ; id : string ; meta_agent_id ?: null | string ; object : "business_agent" ; project_id : string ; settings ?: null | { [ key : string ]: unknown } ; status : "DRAFT" | "PROVISIONING" | "ACTIVE" | "DISABLED" | "ERROR" ; updated_at : string ; } ; BusinessAgentAllowlistRequest : { consumer_phone_number : string } ; BusinessAgentApplyRequest : { channel_id : string ; enabled ?: boolean ; handoff ?: { [ key : string ]: unknown } ; knowledge ?: { [ key : string ]: unknown } ; language ?: string ; persona ?: string ; } & { [ key : string ]: unknown } ; BusinessAgentConnector : { business_agent_id : string ; config ?: null | { [ key : string ]: unknown } ; created_at : string ; id : string ; meta_connector_id ?: null | string ; name : string ; object : "business_agent_connector" ; status : string ; tools ?: { backing_flow_id ?: null | string ; backing_function_id ?: null | string ; backing_function_version_id : null | string ; backing_type : "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION" ; connector_id : string ; created_at : string ; description ?: null | string ; id : string ; input_schema ?: null | { [ key : string ]: unknown } ; meta_tool_id ?: null | string ; name : string ; object : "business_agent_connector_tool" ; updated_at : string ; } [] ; type : string ; updated_at : string ; } ; BusinessAgentConnectorApiKeyRequest : { api_key_config : { [ key : string ]: unknown } ; } ; BusinessAgentConnectorCertificateRequest : { ca_certificate ?: string ; client_certificate : string ; client_key : string ; } ; BusinessAgentConnectorCreateRequest : { business_agent_id : string ; config ?: { [ key : string ]: unknown } ; name : string ; status ?: string ; type : string ; } & { [ key : string ]: unknown } ; BusinessAgentConnectorOAuthRequest : { oauth_config : { client_id : string ; client_secret : string ; scopes_to_request : string [] ; token_url : string ; } ; } ; BusinessAgentConnectorTool : { backing_flow_id ?: null | string ; backing_function_id ?: null | string ; backing_function_version_id : null | string ; backing_type : "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION" ; connector_id : string ; created_at : string ; description ?: null | string ; id : string ; input_schema ?: null | { [ key : string ]: unknown } ; meta_tool_id ?: null | string ; name : string ; object : "business_agent_connector_tool" ; updated_at : string ; } ; BusinessAgentConnectorToolCreateRequest : { backing_flow_id ?: string ; backing_function_id ?: string ; backing_type : "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION" ; config ?: { [ key : string ]: unknown } ; description ?: string ; input_schema ?: { [ key : string ]: unknown } ; name : string ; } & { [ key : string ]: unknown } ; BusinessAgentConnectorToolRunRequest : { arguments : { [ key : string ]: unknown } ; } ; BusinessAgentConnectorToolUpdateRequest : { backing_flow_id ?: null | string ; backing_function_id ?: null | string ; backing_type ?: "FLOW" | "API_ENDPOINT" | "NOOP" | "HOSTED_FUNCTION" ; config ?: { [ key : string ]: unknown } ; description ?: null | string ; input_schema ?: null | { [ key : string ]: unknown } ; name ?: string ; } & { [ key : string ]: unknown } ; BusinessAgentConnectorUpdateRequest : { config ?: { [ key : string ]: unknown } ; name ?: string ; status ?: string ; type ?: string ; } & { [ key : string ]: unknown } ; BusinessAgentEligibilityResponse : { channel_id : string ; eligibility : { [ key : string ]: unknown } ; object : "business_agent_eligibility" ; } ; BusinessAgentEvalResponse : { business_agent_id : string ; object : "business_agent_eval" ; result : { [ key : string ]: unknown } ; } ; BusinessAgentEventRequest : { [ key : string ]: unknown } ; BusinessAgentRemoteWriteResolveRequest : { action : "adopt" | "resolve" ; approved : true ; remote_id : string ; } ; BusinessAgentResourceRequest : { [ key : string ]: unknown } ; BusinessAgentSettingsRequest : { enabled ?: boolean ; handoff ?: { [ key : string ]: unknown } ; knowledge ?: { [ key : string ]: unknown } ; language ?: string ; persona ?: string ; } & { [ key : string ]: unknown } ; BusinessAgentSettingsResponse : { business_agent_id : string ; object : "business_agent_settings" ; settings : { [ key : string ]: unknown } ; } ; BusinessAgentSkillRequest : { description ?: string ; skill ?: string ; title ?: string ; } ; BusinessAgentSkillsResponse : { business_agent_id : string ; data : unknown [] ; object : "business_agent_skills" ; result ?: { [ key : string ]: unknown } ; } & { [ key : string ]: unknown } ; BusinessAgentTestRequest : { business_agent_id : string ; conversation_id ?: string ; user_msg : string ; } ; BusinessAgentTestResponse : { business_agent_id : string ; object : "business_agent_test" ; result : { [ key : string ]: unknown } ; } ; Channel : { channel_id ?: string ; display_name ?: null | string ; id ?: string ; is_sandbox ?: boolean ; number_mode ?: string ; object ?: "channel" ; phone_number ?: null | string ; platform ?: | "WHATSAPP" | "INSTAGRAM" | "MESSENGER" | "SMS" | "TELEGRAM" | "EMAIL" ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: ( | "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; routing_mode ?: "AGENT" | "EXTERNAL" ; routing_warning ?: null | string ; status ?: string ; } ; ConfigApplyResponse : { applied ?: { hosted_agents ?: { action_required ?: | null | "CREATE_AGENT" | "SELECT_AI_MODEL" | "ADD_PAYMENT_METHOD" | "ADD_FUNDS" ; ai_enabled : boolean ; id : string ; key ?: string ; project_id : string ; runtime_mode : "ai_ready" | "automations_only" | "not_operational" ; status ?: string ; } [] ; } ; config ?: { $schema ?: string ; automations : { active ?: boolean ; key : string ; name : string ; steps : ( | { send_reply : { buttons ?: (...) | (...); text : string } } | { delay : { minutes : number } } | { wait_reply : { options ?: (...) | (...); timeout_hours ?: (...) | (...); } ; } | { pause_replies : { reason ?: (...) | (...) } } | { send_flow : { body_text ?: (...) | (...); flow : string ; flow_cta ?: (...) | (...); footer_text ?: (...) | (...); header_text ?: (...) | (...); } ; } | { run_function : { function : string ; reply_field ?: (...) | (...); result_mode ?: (...) | (...) | (...) | (...); variable_name ?: (...) | (...); } ; } )[] ; trigger : { keywords ?: string [] ; match_mode ?: "EXACT" | "CONTAINS" | "CONTAINS_WORD" ; type : "KEYWORD" | "WELCOME" | "ANY_MESSAGE" ; } ; } [] ; business_agent ?: { channel_id ?: string ; connectors ?: { [ key : string ]: unknown } [] ; enabled : boolean ; faqs ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; operation_id : string ; settings : { enabled ?: boolean ; handoff ?: { [ key : string ]: unknown } ; knowledge ?: { [ key : string ]: unknown } ; language ?: string ; persona ?: string ; } & { [ key : string ]: unknown } ; skills ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; ui_skills ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; websites ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; } ; flows : { agent_id ?: string ; data_exchange_url ?: null | string ; description ?: string ; draft ?: { entryScreenId ?: string ; screens ?: (...)[] } & { [ key : string ]: unknown ; } ; flow_json ?: { screens ?: (...)[] ; version ?: string } & { [ key : string ]: unknown ; } ; key : string ; locale ?: string ; name : string ; project_id ?: string ; runtime_mode ?: "STATIC" | "DATA_EXCHANGE" ; } [] ; hosted_agents ?: { allowed_topics : string [] ; channel_ids : string [] ; conversation_messages ?: { cannot_listen ?: string ; clarification : string ; farewell : string ; greeting : string ; out_of_scope : string ; } ; fallback : { automation_id ?: string ; message ?: string ; policy : "SILENT" | "CLARIFICATION" | "HUMAN_HANDOFF" | "AUTOMATION" ; } ; instructions : string ; key : string ; knowledge : { content ?: string ; title : string ; type : "TEXT" | "FAQ" | "URL" ; url ?: string ; } [] ; language : string ; max_input_chars : number ; max_output_tokens : number ; max_run_cost_micros : number ; model : string ; monthly_budget_micros : number ; name : string ; project_id ?: string ; purpose ?: string ; status ?: "DRAFT" | "DISABLED" ; } [] ; project_id ?: string ; require_opt_in ?: boolean ; version ?: string ; } ; diff : { action ?: "delete" | "create" | "update" | "unchanged" ; details ?: string [] ; key ?: string ; requiresActivation ?: boolean ; risk ?: "low" | "medium" | "high" ; type ?: | "business_agent" | "business_agent_connector" | "flow" | "project" | "hosted_agent" | "hosted_agent_assignment" | "hosted_agent_knowledge" | "automation" | "webhook" | "business_agent_tool" ; } [] ; issues : { message ?: string ; path ?: string ; severity ?: "warning" | "error" ; } [] ; object : "config_apply" ; valid : boolean ; } ; ConfigDiffItem : { action ?: "delete" | "create" | "update" | "unchanged" ; details ?: string [] ; key ?: string ; requiresActivation ?: boolean ; risk ?: "low" | "medium" | "high" ; type ?: | "business_agent" | "business_agent_connector" | "flow" | "project" | "hosted_agent" | "hosted_agent_assignment" | "hosted_agent_knowledge" | "automation" | "webhook" | "business_agent_tool" ; } ; ConfigDiffResponse : { diff : { action ?: "delete" | "create" | "update" | "unchanged" ; details ?: string [] ; key ?: string ; requiresActivation ?: boolean ; risk ?: "low" | "medium" | "high" ; type ?: | "business_agent" | "business_agent_connector" | "flow" | "project" | "hosted_agent" | "hosted_agent_assignment" | "hosted_agent_knowledge" | "automation" | "webhook" | "business_agent_tool" ; } [] ; issues : { message ?: string ; path ?: string ; severity ?: "warning" | "error" ; } [] ; object : "config_diff" ; valid : boolean ; } ; ConfigIssue : { message ?: string ; path ?: string ; severity ?: "warning" | "error" ; } ; ConfigValidationResponse : { config ?: { $schema ?: string ; automations : { active ?: boolean ; key : string ; name : string ; steps : ( | { send_reply : { buttons ?: (...) | (...); text : string } } | { delay : { minutes : number } } | { wait_reply : { options ?: (...) | (...); timeout_hours ?: (...) | (...); } ; } | { pause_replies : { reason ?: (...) | (...) } } | { send_flow : { body_text ?: (...) | (...); flow : string ; flow_cta ?: (...) | (...); footer_text ?: (...) | (...); header_text ?: (...) | (...); } ; } | { run_function : { function : string ; reply_field ?: (...) | (...); result_mode ?: (...) | (...) | (...) | (...); variable_name ?: (...) | (...); } ; } )[] ; trigger : { keywords ?: string [] ; match_mode ?: "EXACT" | "CONTAINS" | "CONTAINS_WORD" ; type : "KEYWORD" | "WELCOME" | "ANY_MESSAGE" ; } ; } [] ; business_agent ?: { channel_id ?: string ; connectors ?: { [ key : string ]: unknown } [] ; enabled : boolean ; faqs ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; operation_id : string ; settings : { enabled ?: boolean ; handoff ?: { [ key : string ]: unknown } ; knowledge ?: { [ key : string ]: unknown } ; language ?: string ; persona ?: string ; } & { [ key : string ]: unknown } ; skills ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; ui_skills ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; websites ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; } ; flows : { agent_id ?: string ; data_exchange_url ?: null | string ; description ?: string ; draft ?: { entryScreenId ?: string ; screens ?: (...)[] } & { [ key : string ]: unknown ; } ; flow_json ?: { screens ?: (...)[] ; version ?: string } & { [ key : string ]: unknown ; } ; key : string ; locale ?: string ; name : string ; project_id ?: string ; runtime_mode ?: "STATIC" | "DATA_EXCHANGE" ; } [] ; hosted_agents ?: { allowed_topics : string [] ; channel_ids : string [] ; conversation_messages ?: { cannot_listen ?: string ; clarification : string ; farewell : string ; greeting : string ; out_of_scope : string ; } ; fallback : { automation_id ?: string ; message ?: string ; policy : "SILENT" | "CLARIFICATION" | "HUMAN_HANDOFF" | "AUTOMATION" ; } ; instructions : string ; key : string ; knowledge : { content ?: string ; title : string ; type : "TEXT" | "FAQ" | "URL" ; url ?: string ; } [] ; language : string ; max_input_chars : number ; max_output_tokens : number ; max_run_cost_micros : number ; model : string ; monthly_budget_micros : number ; name : string ; project_id ?: string ; purpose ?: string ; status ?: "DRAFT" | "DISABLED" ; } [] ; project_id ?: string ; require_opt_in ?: boolean ; version ?: string ; } ; issues : { message ?: string ; path ?: string ; severity ?: "warning" | "error" ; } [] ; object : "config_validation" ; valid : boolean ; } ; Contact : { channel ?: { channel_id ?: string ; display_name ?: null | string ; id ?: string ; is_sandbox ?: boolean ; number_mode ?: string ; object ?: "channel" ; phone_number ?: null | string ; platform ?: | "WHATSAPP" | "INSTAGRAM" | "MESSENGER" | "SMS" | "TELEGRAM" | "EMAIL" ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: ( | "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; routing_mode ?: "AGENT" | "EXTERNAL" ; routing_warning ?: null | string ; status ?: string ; } ; channel_id ?: string ; contact_id : string ; id : string ; object : "contact" ; phone ?: null | string ; preferred_language ?: null | string ; project_id ?: string ; reference_id ?: null | string ; status ?: string ; } ; ContactDeleteResponse : { deleted : true ; deleted_data_types ?: string [] ; erased : boolean ; id : string ; object : "contact" ; } ; ContactImport : { created_count ?: number ; error_count ?: number ; errors_available ?: boolean ; filename : string ; id : string ; object : "contact_import" ; processed_rows ?: number ; skipped_count ?: number ; status : string ; total_rows ?: number ; updated_count ?: number ; } ; Conversation : { contact_id ?: string ; conversation_id ?: string ; created_at ?: string ; id ?: string ; is_active ?: boolean ; last_channel_id ?: null | string ; last_message_at ?: null | string ; name ?: null | string ; object ?: "conversation" ; phone ?: null | string ; reference_id ?: null | string ; started_at ?: string ; updated_at ?: string ; } ; Error : { error : string ; issues ?: { [ key : string ]: unknown } ; message ?: string ; request_id ?: string ; required_scope ?: string ; } & { [ key : string ]: unknown } ; Flow : { agent_id ?: string ; config_key ?: null | string ; created_at ?: string ; description ?: null | string ; field_schema ?: null | { [ key : string ]: unknown } [] ; flow_json ?: null | { [ key : string ]: unknown } ; id ?: string ; last_synced_at ?: null | string ; locale ?: null | string ; meta_flow_id ?: null | string ; meta_status ?: null | string ; meta_status_reason ?: null | string ; meta_waba_id ?: null | string ; name ?: string ; object ?: "flow" ; published_version ?: null | number ; runtime_mode ?: "STATIC" | "DATA_EXCHANGE" ; status ?: "DRAFT" | "PUBLISHED" | "DEPRECATED" ; updated_at ?: string ; validation_errors ?: null | { [ key : string ]: unknown } [] ; } ; FlowDeleteResponse : { deleted : true ; id : string ; meta_deleted ?: boolean ; meta_error ?: null | string ; object : "flow" ; } ; FlowDispatch : { agent_id ?: string ; channel_id ?: string ; completed_at ?: null | string ; contact_id ?: null | string ; conversation_id ?: null | string ; created_at ?: string ; expires_at ?: string ; flow_id ?: string ; flow_token ?: string ; id ?: string ; object ?: "flow_dispatch" ; status ?: "SENT" | "COMPLETED" | "EXPIRED" ; to ?: null | string ; } ; FlowEvent : { created_at : string ; data ?: null | { [ key : string ]: unknown } ; id : string ; level : "info" | "error" | "warn" ; message ?: null | string ; object : "flow_event" ; submission_id ?: null | string ; type : string ; } ; FlowPublishResponse : { flow_id : string ; job_id : string ; meta_status ?: null | string ; object : "flow_publish" ; status : "queued" ; version ?: number ; } ; FlowSendResponse : { contact_id ?: null | string ; conversation_id ?: null | string ; flow_id : string ; flow_token : string ; id : string ; locale ?: null | string ; object : "flow_dispatch" ; status : "queued" ; } ; FlowSubmission : { agent_id ?: string ; contact_id ?: null | string ; conversation_id ?: null | string ; created_at ?: string ; flow_id ?: string ; flow_token ?: string ; from ?: null | string ; id ?: string ; object ?: "flow_submission" ; status ?: "RECEIVED" | "VALIDATED" | "REJECTED" | "FORWARDED" ; submission ?: { [ key : string ]: unknown } ; } ; FriendlyIssue : { area ?: string ; code ?: string ; message ?: string ; next_steps ?: string [] ; severity ?: "info" | "warning" | "blocked" ; title ?: string ; } ; FunctionCreateRequest : { egress_allowed_hosts ?: string [] ; name : string ; slug : string ; trigger_type : "KEYWORD" | "WELCOME" | "ANY_MESSAGE" ; } ; FunctionDeleteResponse : { deleted ?: boolean ; id ?: string ; object ?: "hosted_function" ; } ; FunctionDeployRequest : { source : string } ; FunctionDeployResponse : { bytes ?: number ; diagnostics ?: string [] ; function_id ?: string ; object ?: "function_deploy" ; status ?: "ok" | "error" ; version_id ?: string ; } ; FunctionInvocation : { cpu_ms ?: null | number ; error ?: null | string ; event_type ?: string ; id ?: string ; logs ?: unknown ; started_at ?: string ; status ?: string ; sub_requests ?: null | number ; } ; FunctionInvokeRequest : { arguments ?: { [ key : string ]: unknown } ; contact_id ?: string ; contact_phone ?: string ; } ; FunctionInvokeResponse : { error ?: string ; function_id ?: string ; object ?: "function_invoke" ; result ?: unknown ; } ; FunctionTestRequest : { contact ?: { id : string ; name ?: string ; phone : string } ; text ?: string ; } ; FunctionTestResponse : { error ?: string ; function_id ?: string ; object ?: "function_test" ; result ?: unknown ; } ; FunctionUpdateRequest : { egress_allowed_hosts ?: string [] ; expose_as_mcp_tool ?: boolean ; input_schema ?: { [ key : string ]: unknown } ; is_active ?: boolean ; name ?: string ; } ; HostedFunction : { active_version_id : null | string ; created_at : string ; egress_allowed_hosts : string [] ; expose_as_mcp_tool : boolean ; id : string ; input_schema ?: null | { [ key : string ]: unknown } ; is_active : boolean ; name : string ; object : "hosted_function" ; runtime : "PLAIN" | "WFP" ; script_name : string ; slug : string ; source ?: null | string ; trigger_type : "KEYWORD" | "WELCOME" | "ANY_MESSAGE" ; updated_at : string ; } ; Identity : { api_key : { display ?: null | string ; id ?: string ; name ?: null | string ; prefix ?: null | string ; scopes ?: string [] ; } ; api_version ?: string ; object : "identity" ; organization : { id ?: string ; name ?: null | string } ; plan ?: null | string ; project : { id ?: string ; name ?: null | string } ; } ; ListMeta : { has_more ?: boolean ; object : "list" } ; Message : { channel_id ?: string ; contact_id ?: string ; content ?: null | string ; conversation_id ?: null | string ; direction ?: "inbound" | "outbound" ; failure ?: | null | { code ?: null | string | number ; fbtrace_id ?: null | string ; http_status ?: null | number ; message ?: string ; occurred_at ?: string ; provider ?: "meta" | "wabery" ; subcode ?: null | string | number ; summary ?: string ; title ?: null | string ; type ?: null | string ; } ; id ?: string ; media ?: | null | { access_policy ?: string ; accessible ?: boolean ; error_code ?: null | string ; expires_at ?: null | string ; file_name ?: null | string ; file_size ?: null | number ; mime_type ?: null | string ; note ?: null | string ; provider ?: null | "whatsapp" | "instagram" | "messenger" ; provider_media_id ?: null | string ; status ?: "expired" | "available" | "unavailable" ; type ?: null | string ; url ?: null | string ; whatsapp_media_id ?: null | string ; } ; message_id ?: string ; object ?: "message" ; platform_message_id ?: null | string ; status ?: string ; timestamp ?: string ; type ?: string ; } ; MessageSendRequest : { channel_id : string ; contacts ?: { [ key : string ]: unknown } [] ; conversation_id ?: string ; group_id ?: string ; idempotency_key ?: string ; interactive ?: { [ key : string ]: unknown } ; location ?: { address ?: string ; latitude : number ; longitude : number ; name ?: string ; } ; media ?: { type?: "document" | "image" | "video" | "audio" | undefined; link?: string | undefined; id?: string | undefined; caption?: string | undefined; filename?: string | undefined; } & ({ ...; } | { ...; }); pin ?: | { expiration_days : number ; message_id : string ; type : "pin" } | { message_id : string ; type : "unpin" } ; reaction ?: { emoji : string ; message_id : string } ; reply_to ?: string ; sticker ?: { id?: string | undefined; link?: string | undefined; } & ({ id: string; link?: undefined; } | { link: string; id?: undefined; }); template ?: { components ?: { [ key : string ]: unknown } [] ; id ?: string ; language ?: string ; name ?: string ; } ; text ?: string ; to ?: string ; } ; MessageSendResponse : { contact_id : string ; conversation_id : string ; id : string ; idempotency_key : string ; object : "message" ; status : "queued" ; } ; MetaDeclarativeResource : { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } ; OnboardingHandoff : { channel_id ?: null | string ; completed_at ?: null | string ; connection_mode ?: string ; created_at ?: string ; expires_at ?: string ; id ?: string ; object ?: "onboarding_handoff" ; project_id ?: string ; status ?: "pending" | "completed" | "expired" | "revoked" ; type ?: "connect_whatsapp" ; } ; Problem : { code ?: string ; detail ?: string ; instance ?: string ; status : number ; title : string ; type : string ; } & { [ key : string ]: unknown } ; Project : { automatic_read_receipts ?: boolean ; channel_id ?: null | string ; created_at ?: string ; description ?: null | string ; enrollment_channel ?: | null | { channel_id ?: string ; display_name ?: null | string ; id ?: string ; is_sandbox ?: boolean ; number_mode ?: string ; object ?: "channel" ; phone_number ?: null | string ; platform ?: | "WHATSAPP" | "INSTAGRAM" | "MESSENGER" | "SMS" | "TELEGRAM" | "EMAIL" ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: ( | "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; routing_mode ?: "AGENT" | "EXTERNAL" ; routing_warning ?: null | string ; status ?: string ; } ; flow_count ?: number ; id ?: string ; join_code ?: string ; name ?: string ; object ?: "project" ; participant_count ?: number ; project_id ?: string ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: ( | "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; require_opt_in ?: boolean ; routing_mode ?: string ; updated_at ?: string ; webhook_secret ?: null | string ; webhook_signing_enabled ?: boolean ; webhook_url ?: null | string ; } ; ProjectReadiness : { agent_runtime : { action_required ?: | null | "CREATE_AGENT" | "SELECT_AI_MODEL" | "ADD_PAYMENT_METHOD" | "ADD_FUNDS" ; ai_enabled : boolean ; available_balance_micros : number ; has_useful_automations : boolean ; mode : "ai_ready" | "automations_only" | "not_operational" ; runtime_model ?: null | string ; selected_model ?: null | string ; } ; capabilities ?: { [ key : string ]: { message ?: string ; status ?: "warning" | "blocked" | "ready" | "testable" | "not_applicable" ; } ; } ; dedicated_channel ?: | null | { channel_id ?: string ; display_name ?: null | string ; id ?: string ; is_sandbox ?: boolean ; number_mode ?: string ; object ?: "channel" ; phone_number ?: null | string ; platform ?: | "WHATSAPP" | "INSTAGRAM" | "MESSENGER" | "SMS" | "TELEGRAM" | "EMAIL" ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: ( | "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; routing_mode ?: "AGENT" | "EXTERNAL" ; routing_warning ?: null | string ; status ?: string ; } ; effective_channel ?: | null | { channel_id ?: string ; display_name ?: null | string ; id ?: string ; is_sandbox ?: boolean ; number_mode ?: string ; object ?: "channel" ; phone_number ?: null | string ; platform ?: | "WHATSAPP" | "INSTAGRAM" | "MESSENGER" | "SMS" | "TELEGRAM" | "EMAIL" ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: ( | "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; routing_mode ?: "AGENT" | "EXTERNAL" ; routing_warning ?: null | string ; status ?: string ; } ; issues ?: { area ?: string ; code ?: string ; message ?: string ; next_steps ?: string [] ; severity ?: "info" | "warning" | "blocked" ; title ?: string ; } [] ; next_steps ?: string [] ; object : "project_readiness" ; overall_status ?: string ; production_inbound_ready ?: boolean ; project_id : string ; project_name ?: string ; requirements ?: string [] ; sandbox_channel ?: | null | { channel_id ?: string ; display_name ?: null | string ; id ?: string ; is_sandbox ?: boolean ; number_mode ?: string ; object ?: "channel" ; phone_number ?: null | string ; platform ?: | "WHATSAPP" | "INSTAGRAM" | "MESSENGER" | "SMS" | "TELEGRAM" | "EMAIL" ; publish_readiness ?: | null | { account_review_status ?: null | string ; blockers ?: ( | "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; routing_mode ?: "AGENT" | "EXTERNAL" ; routing_warning ?: null | string ; status ?: string ; } ; sandbox_testable ?: boolean ; } ; ProjectWebhookSecret : { object : "project_webhook_secret" ; project_id : string ; webhook_secret : string ; } ; PublicApiLimits : { monthly_quota ?: { period ?: string ; requests : number ; scope ?: "api_key" ; } ; object ?: "public_api_limits" ; rate_limit ?: { requests : number ; scope ?: "api_key" ; window_seconds : number ; } ; } ; PublishReadiness : { account_review_status ?: null | string ; blockers ?: ( | "CHANNEL_NOT_CONNECTED" | "MISSING_WABA" | "MISSING_CHANNEL_CREDENTIALS" | "META_ACCOUNT_STATUS_UNKNOWN" | "BUSINESS_NOT_VERIFIED" | "ACCOUNT_NOT_APPROVED" | "PHONE_NOT_CONNECTED" | "PHONE_STATUS_UNKNOWN" | "PAYMENT_STATUS_UNKNOWN" | "NO_PAYMENT_METHOD" | "WHATSAPP_SENDER_NOT_READY" | "SANDBOX_TEMPLATES_NOT_SUPPORTED" )[] ; business_verification_status ?: null | string ; can_publish_flows ?: boolean ; can_submit_templates ?: boolean ; mode ?: "sandbox" | "dedicated" ; phone_number_status ?: null | string ; } ; RegistrationIntent : { expires_at : string ; id : string ; mode ?: "test" | "live" ; object : "registration_intent" ; prefilled_message ?: string ; status ?: "PENDING" ; token : string ; wa_link : string ; whatsapp_number ?: string ; } ; TemplateCreateRequest : { category : "UTILITY" | "MARKETING" | "AUTHENTICATION" ; channel_id : string ; components : { [ key : string ]: unknown } [] ; language : string ; name : string ; parameter_format ?: "POSITIONAL" | "NAMED" ; } ; ThreadControlRequest : { action : "take" | "release" | "pass" ; business_agent_id ?: string ; channel_id : string ; contact_id : string ; metadata ?: string ; pass_to_meta ?: boolean ; reason ?: string ; to : string ; } ; ThreadControlState : { business_agent_id ?: null | string ; channel_id : string ; contact_id : string ; created_at : string ; id : string ; meta_result ?: { messaging_product ?: string ; request_id ?: string } & { [ key : string ]: unknown ; } ; meta_thread_id ?: null | string ; object : "thread_control_state" ; observation ?: "local" ; operation_id ?: string ; owner : "META_AGENT" | "WABERY" | "BUSINESS_INBOX" | "UNKNOWN" | "PENDING" ; project_id : string ; reason ?: null | string ; replayed ?: boolean ; updated_at : string ; } & { [ key : string ]: unknown } ; WaberyConfig : { $schema ?: string ; automations : { active ?: boolean ; key : string ; name : string ; steps : ( | { send_reply : { buttons ?: { id : ...; title : ... } [] ; text : string } ; } | { delay : { minutes : number } } | { wait_reply : { options ?: { id : ...; keywords ?: ...; label : ...; matchMode ?: ... } [] ; timeout_hours ?: number ; } ; } | { pause_replies : { reason ?: string } } | { send_flow : { body_text ?: string ; flow : string ; flow_cta ?: string ; footer_text ?: string ; header_text ?: string ; } ; } | { run_function : { function : string ; reply_field ?: string ; result_mode ?: "reply" | "variables" | "side_effect" ; variable_name ?: string ; } ; } )[] ; trigger : { keywords ?: string [] ; match_mode ?: "EXACT" | "CONTAINS" | "CONTAINS_WORD" ; type : "KEYWORD" | "WELCOME" | "ANY_MESSAGE" ; } ; } [] ; business_agent ?: { channel_id ?: string ; connectors ?: { [ key : string ]: unknown } [] ; enabled : boolean ; faqs ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; operation_id : string ; settings : { enabled ?: boolean ; handoff ?: { [ key : string ]: unknown } ; knowledge ?: { [ key : string ]: unknown } ; language ?: string ; persona ?: string ; } & { [ key : string ]: unknown } ; skills ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; ui_skills ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; websites ?: { key : string ; remote_id ?: string ; value : { [ key : string ]: unknown } ; } [] ; } ; flows : { agent_id ?: string ; data_exchange_url ?: null | string ; description ?: string ; draft ?: { entryScreenId ?: string ; screens ?: { [ key : string ]: unknown } [] ; } & { [ key : string ]: unknown } ; flow_json ?: { screens ?: Record < string , never > [] ; version ?: string } & { [ key : string ]: unknown ; } ; key : string ; locale ?: string ; name : string ; project_id ?: string ; runtime_mode ?: "STATIC" | "DATA_EXCHANGE" ; } [] ; hosted_agents ?: { allowed_topics : string [] ; channel_ids : string [] ; conversation_messages ?: { cannot_listen ?: string ; clarification : string ; farewell : string ; greeting : string ; out_of_scope : string ; } ; fallback : { automation_id ?: string ; message ?: string ; policy : "SILENT" | "CLARIFICATION" | "HUMAN_HANDOFF" | "AUTOMATION" ; } ; instructions : string ; key : string ; knowledge : { content ?: string ; title : string ; type : "TEXT" | "FAQ" | "URL" ; url ?: string ; } [] ; language : string ; max_input_chars : number ; max_output_tokens : number ; max_run_cost_micros : number ; model : string ; monthly_budget_micros : number ; name : string ; project_id ?: string ; purpose ?: string ; status ?: "DRAFT" | "DISABLED" ; } [] ; project_id ?: string ; require_opt_in ?: boolean ; version ?: string ; } ; WhatsAppGroup : { channel_id : string ; created_at ?: null | string ; creation_timestamp ?: null | number ; description ?: null | string ; group_id ?: string ; id : string ; invite_link ?: null | string ; join_approval_mode : null | "auto_approve" | "approval_required" ; object : "whatsapp_group" ; participants : { id : string ; id_type : "user_id" | "wa_id" ; name ?: null | string ; parent_user_id ?: null | string ; phone ?: null | string ; user ?: string ; user_id : null | string ; username ?: null | string ; wa_id : null | string ; } [] ; subject : null | string ; suspended : null | boolean ; total_participant_count : null | number ; } ; WhatsAppGroupConversation : { contact_id ?: null ; conversation_id ?: string ; created_at ?: string ; group_id ?: null | string ; group_subject ?: null | string ; id ?: string ; is_active ?: boolean ; last_channel_id ?: null | string ; last_message_at ?: null | string ; name ?: null | string ; object ?: "conversation" ; phone ?: null | string ; reference_id ?: null | string ; started_at ?: string ; updated_at ?: string ; } ; WhatsAppGroupCreateProcessingResponse : { idempotency_key : string ; object : "api_operation" ; reconciliation : "provider" | "local_persistence" ; status : "processing" ; } ; WhatsAppGroupInviteLink : { channel_id : string ; group_id : string ; invite_link : string ; object : "whatsapp_group_invite_link" ; } ; WhatsAppGroupJoinRequest : { created_at ?: null | string ; creation_timestamp ?: null | number ; group_id ?: string ; id : string ; join_request_id : string ; parent_user_id ?: string ; user_id ?: string ; username ?: string ; wa_id ?: string ; } ; WhatsAppGroupJoinRequestMutation : { approved_join_requests ?: string [] ; failed_join_requests ?: Record < string , never > [] ; rejected_join_requests ?: string [] ; } ; WhatsAppGroupMessage : { channel_id ?: string ; contact_id ?: null ; content ?: null | string ; conversation_id ?: null | string ; direction ?: "inbound" | "outbound" ; failure ?: | null | { code ?: null | string | number ; fbtrace_id ?: null | string ; http_status ?: null | number ; message ?: string ; occurred_at ?: string ; provider ?: "meta" | "wabery" ; subcode ?: null | string | number ; summary ?: string ; title ?: null | string ; type ?: null | string ; } ; group_id ?: null | string ; group_subject ?: null | string ; id ?: string ; identity_key_hash ?: null | string ; media ?: | null | { access_policy ?: string ; accessible ?: boolean ; error_code ?: null | string ; expires_at ?: null | string ; file_name ?: null | string ; file_size ?: null | number ; mime_type ?: null | string ; note ?: null | string ; provider ?: null | "whatsapp" | "instagram" | "messenger" ; provider_media_id ?: null | string ; status ?: "expired" | "available" | "unavailable" ; type ?: null | string ; url ?: null | string ; whatsapp_media_id ?: null | string ; } ; message_id ?: string ; object ?: "message" ; platform_message_id ?: null | string ; sender_participant ?: null | string ; status ?: string ; timestamp ?: string ; type ?: string ; } ; WhatsAppGroupMessageProcessingResponse : { acceptance_unknown ?: boolean ; idempotency_key : string ; object : "message_request" ; provider_accepted ?: boolean ; reconciliation : "provider" | "local_persistence" ; status : "processing" ; } ; WhatsAppGroupMessageSendResponse : { conversation_id : string ; group_id : string ; id : string ; idempotency_key : string ; object : "message" ; provider_message_id : string ; status : "sent" ; } ; WhatsAppGroupOperation : { channel_id : string ; group_id : null | string ; idempotent_replay ?: boolean ; object : "whatsapp_group_operation" ; operation : "delete" | "create" | "update" ; request_id : null | string ; status : "pending" ; } ; WhatsAppGroupParticipant : { id : string ; id_type : "user_id" | "wa_id" ; name ?: null | string ; parent_user_id ?: null | string ; phone ?: null | string ; user ?: string ; user_id : null | string ; username ?: null | string ; wa_id : null | string ; } ; WhatsAppGroupParticipantMutation : { failed_participants ?: { errors ?: Record < string , never > [] ; input ?: string ; user_id ?: string ; } [] ; removed_participants ?: string [] ; } ; WhatsAppManagementResponse : { [ key : string ]: unknown } ; WhatsAppMessageWithContext : { channel_id ?: string ; contact_id ?: string ; content ?: null | string ; conversation_id ?: null | string ; direction ?: "inbound" | "outbound" ; failure ?: | null | { code ?: null | string | number ; fbtrace_id ?: null | string ; http_status ?: null | number ; message ?: string ; occurred_at ?: string ; provider ?: "meta" | "wabery" ; subcode ?: null | string | number ; summary ?: string ; title ?: null | string ; type ?: null | string ; } ; id ?: string ; media ?: | null | { access_policy ?: string ; accessible ?: boolean ; error_code ?: null | string ; expires_at ?: null | string ; file_name ?: null | string ; file_size ?: null | number ; mime_type ?: null | string ; note ?: null | string ; provider ?: null | "whatsapp" | "instagram" | "messenger" ; provider_media_id ?: null | string ; status ?: "expired" | "available" | "unavailable" ; type ?: null | string ; url ?: null | string ; whatsapp_media_id ?: null | string ; } ; message_id ?: string ; object ?: "message" ; platform_message_id ?: null | string ; status ?: string ; timestamp ?: string ; type ?: string ; } & { ctwa_clid ?: string ; identity_key_hash ?: string ; order ?: { [ key : string ]: unknown } ; referral ?: { [ key : string ]: unknown } ; referred_product ?: { [ key : string ]: unknown } ; } ; WhatsAppTemplate : { approved_at ?: null | string ; category ?: string ; channel_id ?: string ; components ?: { [ key : string ]: unknown } ; created_at ?: string ; id ?: string ; language ?: string ; last_synced_at ?: null | string ; meta_template_id ?: null | string ; name ?: string ; object ?: "whatsapp_template" ; rejected_at ?: null | string ; rejection_reason ?: null | string ; status ?: string ; submitted_at ?: string ; updated_at ?: string ; } ; WhatsAppUsername : { channel_id : string ; last_checked_at : string ; object : "whatsapp_username" ; status : null | "approved" | "reserved" ; username : null | string ; } ; WhatsAppUsernameSuggestions : { channel_id : string ; data : string [] ; object : "list" ; } ; }
Description
Maximum requests allowed in the active rate-limit window.