cURL
curl --request POST \ --url https://api.sprucecollective.co.uk/admin/site-configs \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "site_id": "<string>", "additional_settings": {}, "brevo_api_key": "<string>", "brevo_contact_list_id": "<string>", "display_name": "<string>", "domain": "<string>", "email_bcc_for_purchases": "<string>", "email_provider": "<string>", "frontend_url": "<string>", "sendgrid_api_key": "<string>", "sendgrid_generic_magic_link_template_id": "<string>", "sendgrid_generic_password_reset_template_id": "<string>", "sendgrid_generic_password_set_template_id": "<string>", "sendgrid_generic_purchase_existing_template_id": "<string>", "sendgrid_generic_purchase_new_template_id": "<string>", "sendgrid_generic_raffle_entry_template_id": "<string>", "sendgrid_generic_webflow_new_user_template_id": "<string>", "sendgrid_generic_welcome_template_id": "<string>", "sendgrid_magic_link_template_id": "<string>", "sendgrid_master_template_id": "<string>", "sendgrid_password_reset_template_id": "<string>", "sendgrid_password_set_template_id": "<string>", "sendgrid_purchase_existing_template_id": "<string>", "sendgrid_purchase_new_template_id": "<string>", "sendgrid_raffle_entry_template_id": "<string>", "sendgrid_webflow_new_user_template_id": "<string>", "sendgrid_welcome_template_id": "<string>", "smtp_from": "<string>", "smtp_from_name": "<string>", "smtp_host": "<string>", "smtp_password": "<string>", "smtp_port": 123, "smtp_reply_to": "<string>", "smtp_username": "<string>", "triplewhale_api_key": "<string>" } '
{ "additional_settings": {}, "brevo_api_key": "<string>", "brevo_contact_list_id": "<string>", "created_at": "<string>", "display_name": "<string>", "domain": "<string>", "email_bcc_for_purchases": "<string>", "email_provider": "<string>", "frontend_url": "<string>", "id": "<string>", "sendgrid_api_key": "<string>", "sendgrid_generic_magic_link_template_id": "<string>", "sendgrid_generic_password_reset_template_id": "<string>", "sendgrid_generic_password_set_template_id": "<string>", "sendgrid_generic_purchase_existing_template_id": "<string>", "sendgrid_generic_purchase_new_template_id": "<string>", "sendgrid_generic_raffle_entry_template_id": "<string>", "sendgrid_generic_webflow_new_user_template_id": "<string>", "sendgrid_generic_welcome_template_id": "<string>", "sendgrid_magic_link_template_id": "<string>", "sendgrid_master_template_id": "<string>", "sendgrid_password_reset_template_id": "<string>", "sendgrid_password_set_template_id": "<string>", "sendgrid_purchase_existing_template_id": "<string>", "sendgrid_purchase_new_template_id": "<string>", "sendgrid_raffle_entry_template_id": "<string>", "sendgrid_webflow_new_user_template_id": "<string>", "sendgrid_welcome_template_id": "<string>", "site_id": "<string>", "smtp_from": "<string>", "smtp_from_name": "<string>", "smtp_host": "<string>", "smtp_password": "<string>", "smtp_port": 123, "smtp_reply_to": "<string>", "smtp_username": "<string>", "triplewhale_api_key": "<string>", "updated_at": "<string>" }
Create a new site configuration for a site.
Type "Bearer" followed by a space and JWT token.
Site configuration payload
Created
Brevo overrides
Email BCC for purchases
Email / SendGrid overrides
SMTP overrides
Triple Whale overrides