Get AI Assistants
/ai_assistantsConnect applications, storefronts, internal tools, and AI agents directly to the RevCent operating layer through the V2 HTTP REST API.
https://api.revcent.com/v234.224.171.255
52.3.146.218
54.174.155.188
Connect personal AI, IDEs, and external AI agents to RevCent. Read the MCP docs.
Use your RevCent API key to make authenticated V2 API requests. Send the key in the x-api-key header of every request.
Create separate API keys for each implementation instead of using the root keys created with your account.
Limit each key to only the API operations its integration needs. Keys may also be configured for test or live mode.
curl -G https://api.revcent.com/v2/customers \
-H "x-api-key: YOUR_REVCENT_API_KEY" \
-H "Accept: application/json"The V2 API uses conventional HTTP status codes. Codes in the 2xx range indicate success, 4xx codes identify an issue with the request or payment, and 5xx codes indicate an unexpected RevCent error.
Use both the HTTP status and the response body’s code property when handling failures. Avoid displaying raw API responses directly to checkout visitors.
| HTTP | Type | Meaning |
|---|---|---|
| 200 | Success | The request completed successfully. |
| 400 | Request error | The request is invalid or missing required data. |
| 401 | Unauthorized | The API key is missing, invalid, or disabled. |
| 402 | Payment error | A payment failed because of a decline, gateway error, or fraud decision. |
| 404 | Not found | The requested RevCent entity does not exist. |
| 429 | Rate limited | Too many requests were submitted in the allotted period. |
| 500 | Server error | RevCent encountered an unexpected error. |
Safely retry POST requests without performing the same operation twice by providing an idempotency_key in the request object.
RevCent compares the value with keys submitted by the API account during the previous 24 hours. Use a unique value of 10–255 characters—V4 UUIDs are recommended.
curl -X POST https://api.revcent.com/v2/sales \
-H "x-api-key: YOUR_REVCENT_API_KEY" \
-H "Content-Type: application/json" \
--data-raw '{
"idempotency_key": "2c74f520-2b7f-44ea-a36a-d3d5d07a8834"
}'List operations accept required pagination values and operation-specific filters. Consult each operation schema for its complete set of query parameters.
date_start, date_end, limit, and page are required by list operations that use date ranges.
Submit the same query parameter more than once to filter against multiple values when the operation supports a multi-value filter.
Use metadata_filter objects to match stored name/value pairs.
Use customer_id where supported to limit results to one customer.
Pagination applies to GET operations that return multiple items. Reuse the original date range and limit while incrementing the page value.
{
"current_count": 25,
"current_page": 1,
"results": [],
"total_count": 79,
"total_pages": 4
}/ai_assistants/ai_assistants/ai_assistants/{ai_assistant_id}/ai_assistants/{ai_assistant_id}/ai_assistants/{ai_assistant_id}/trigger/ai_assistants/{ai_assistant_id}/delete/ai_memos/ai_memos/ai_memos/{ai_memo_id}/ai_memos/{ai_memo_id}/delete/ai_memos/{ai_memo_id}/mark_as_read/ai_prompts/ai_prompts/ai_prompts/{ai_prompt_id}/ai_prompts/{ai_prompt_id}/ai_prompts/{ai_prompt_id}/delete/ai_threads/ai_threads/{ai_thread_id}/ai_threads/{ai_thread_id}/cancel/ai_voice_agents/ai_voice_agents/ai_voice_agents/{ai_voice_agent_id}/ai_voice_agents/{ai_voice_agent_id}/ai_voice_agents/{ai_voice_agent_id}/trigger/ai_voice_agents/{ai_voice_agent_id}/delete/ai_voice_calls/ai_voice_calls/{ai_voice_call_id}/ai_voice_snippets/ai_voice_snippets/ai_voice_snippets/{ai_voice_snippet_id}/ai_voice_snippets/{ai_voice_snippet_id}/ai_voice_snippets/{ai_voice_snippet_id}/delete/api_calls/api_calls/{api_call_id}/bigquery/bigquery_tables/bigquery_tables/{table_name}/bin_profiles/bin_profiles/bin_profiles/{bin_profile_id}/bin_profiles/{bin_profile_id}/bin_profiles/{bin_profile_id}/delete/campaigns/campaigns/campaigns/{campaign_id}/campaigns/{campaign_id}/chargebacks/chargebacks/chargebacks/{chargeback_id}/chargebacks/{chargeback_id}/chargebacks/search/documents/check_directs/check_directs/{check_direct_id}/coupons/coupons/coupons/{coupon_id}/coupons/{coupon_id}/coupons/validate/coupons/{coupon_id}/delete/coupon_profiles/coupon_profiles/coupon_profiles/{coupon_profile_id}/coupon_profiles/{coupon_profile_id}/coupon_profiles/{coupon_profile_id}/delete/customers/customers/customers/{customer_id}/customers/{customer_id}/customers/{customer_id}/enable/customers/{customer_id}/disable/customers/{customer_id}/add_to_group/customers/{customer_id}/remove_from_group/customers/{customer_id}/payment_methods/customers/{customer_id}/payment_methods/customers/{customer_id}/payment_methods/{payment_method_id}/customers/{customer_id}/payment_methods/{payment_method_id}/delete/customers/{customer_id}/payment_methods/{payment_method_id}/disable/customers/{customer_id}/payment_methods/{payment_method_id}/enable/customers/{customer_id}/payment_methods/{payment_method_id}/set_default/customers/search/customer_groups/customer_groups/customer_groups/{customer_group_id}/customer_groups/{customer_group_id}/customer_groups/{customer_group_id}/delete/customer_portals/customer_portals/customer_portals/{customer_portal_id}/customer_portals/{customer_portal_id}/customer_portals/{customer_portal_id}/delete/discounts/discounts/{discount_id}/documentation/search/email_templates/email_templates/email_templates/{email_template_id}/email_templates/{email_template_id}/email_templates/{email_template_id}/delete/fulfillment_accounts/fulfillment_accounts/fulfillment_accounts/{fulfillment_account_id}/fulfillment_accounts/{fulfillment_account_id}/fulfillment_accounts/{fulfillment_account_id}/delete/site_fulfillment_centers/site_fulfillment_centers/{site_fulfillment_center_id}/functions/functions/functions/{function_id}/functions/{function_id}/functions/{function_id}/trigger/functions/{function_id}/delete/site_gateways/site_gateways/{site_gateway_id}/user_gateways/user_gateways/user_gateways/{user_gateway_id}/user_gateways/{user_gateway_id}/gateway_groups/gateway_groups/gateway_groups/{gateway_group_id}/gateway_groups/{gateway_group_id}/gateway_groups/{gateway_group_id}/add_user_gateway/gateway_groups/{gateway_group_id}/delete/gateway_groups/{gateway_group_id}/remove_user_gateway/key_values/key_values/key_values/{key}/key_values/{key}/key_values/{key}/delete/metadata/metadata/metadata/{metadata_id}/notes/offline_payments/offline_payments/{offline_payment_id}/payment_profiles/payment_profiles/payment_profiles/{payment_profile_id}/payment_profiles/{payment_profile_id}/paypal_accounts/paypal_accounts/paypal_accounts/{paypal_account_id}/paypal_accounts/{paypal_account_id}/paypal_accounts/{paypal_account_id}/delete/paypal_disputes/paypal_disputes/{paypal_dispute_id}/paypal_transactions/paypal_transactions/{paypal_transaction_id}/paypal_transactions/search/pending_refunds/pending_refunds/{pending_refund_id}/pending_refunds/search/products/products/products/{product_id}/products/{product_id}/products/{product_id}/enable/products/{product_id}/disable/products/{product_id}/delete/products/{product_id}/images/products/{product_id}/images/products/{product_id}/images/{product_image_id}/products/{product_id}/images/{product_image_id}/products/{product_id}/images/{product_image_id}/delete/products/search/products/sync/products/sync/{product_sync_id}/product_groups/product_groups/product_groups/{product_group_id}/product_groups/{product_group_id}/product_groups/{product_group_id}/delete/product_sales/product_sales/{product_sale_id}/product_sales/{product_sale_id}/refund/projects/projects/projects/{project_id}/projects/{project_id}/projects/{project_id}/delete/projects/{project_id}/associate_entity/projects/{project_id}/disassociate_entity/projects/search/project_notes/project_notes/project_notes/{project_note_id}/project_notes/{project_note_id}/project_notes/{project_note_id}/delete/project_notes/search/sales/sales/sales/{sale_id}/sales/{sale_id}/void/sales/{sale_id}/add_fraud_alert/sales/{sale_id}/remove_fraud_alert/sales/pending/sales/pending/{sale_id}/sales/pending/{sale_id}/process/sales/estimate/sales/search/salvage_transactions/salvage_transactions/{salvage_transaction_id}/salvage_transactions/{salvage_transaction_id}/process/salvage_transactions/{salvage_transaction_id}/disable/secure_forms/secure_forms/{secure_form_id}/fraud_detections/fraud_detections/fraud_detections/{fraud_detection_id}/fraud_detections/{fraud_detection_id}/fraud_detections/search/sentinel/sentinel/shipping/shipping/{shipping_id}/shipping/{shipping_id}/shipping/{shipping_id}/refund/shipping/search/shipping_profiles/shipping_profiles/shipping_profiles/{shipping_profile_id}/shipping_profiles/{shipping_profile_id}/shipping_profiles/{shipping_profile_id}/delete/site_shipping_providers/site_shipping_providers/{site_shipping_provider_id}/site_shops/site_shops/{site_shop_id}/user_shops/user_shops/user_shops/{user_shop_id}/user_shops/{user_shop_id}/user_shops/{user_shop_id}/validate/user_shops/{user_shop_id}/fix/sites/sites/sites/{site_id}/sites/{site_id}/sites/{site_id}/add_tracking_domain/sites/{site_id}/remove_tracking_domain/sites/{site_id}/delete/site_events/site_logs/smtp_messages/smtp_messages/smtp_messages/{smtp_message_id}/smtp_profiles/smtp_profiles/smtp_profiles/{smtp_profile_id}/smtp_profiles/{smtp_profile_id}/smtp_profiles/{smtp_profile_id}/delete/subscriptions/subscriptions/{subscription_id}/subscriptions/{subscription_id}/subscriptions/{subscription_id}/activate/subscriptions/{subscription_id}/suspend/subscriptions/{subscription_id}/cancel/subscriptions/{subscription_id}/renew/subscriptions/search/subscription_profiles/subscription_profiles/subscription_profiles/{subscription_profile_id}/subscription_profiles/{subscription_profile_id}/subscription_profiles/{subscription_profile_id}/delete/subscription_renewals/subscription_renewals/{subscription_renewal_id}/subscription_renewals/{subscription_renewal_id}/refund/tax/tax/{tax_id}/tax/{tax_id}/refund/tax_profiles/tax_profiles/tax_profiles/{tax_profile_id}/tax_profiles/{tax_profile_id}/tax_profiles/{tax_profile_id}/delete/site_third_party_integrations/site_third_party_integrations/{site_third_party_integration_id}/user_third_party_integrations/user_third_party_integrations/user_third_party_integrations/{user_third_party_integration_id}/user_third_party_integrations/{user_third_party_integration_id}/user_third_party_integrations/{user_third_party_integration_id}/delete/tracking_domains/tracking_domains/tracking_domains/{tracking_domain_id}/tracking_domains/{tracking_domain_id}/tracking_domains/{tracking_domain_id}/initialize_ssl/tracking_domains/{tracking_domain_id}/initialize_dns/tracking_visitors/{tracking_visitor_id}/url_parameter_sets/url_parameter_sets/url_parameter_sets/{url_parameter_set_id}/url_parameter_sets/{url_parameter_set_id}/url_parameter_sets/{url_parameter_set_id}/delete/transactions/transactions/{transaction_id}/transactions/{transaction_id}/refund/transactions/search/trials/trials/{trial_id}/trials/{trial_id}/expire/trials/{trial_id}/extend/trials/{trial_id}/shorten/trials/{trial_id}/cancel/trials/search