Skip to main content

Create an Account Template

info
Documentation on this page is applicable to platforms that have Account Templates enabled. If you are unsure whether you have Account Templates enabled, please contact your account manager.

Overview

An Account Template is a pre-designed template containing rules and program information. This allows for infinite customizability for your platform.

Create an Account Template

API URL: POST https://userapi-demo.s2f.projectx.com/AccountTemplate/create

API Reference: /AccountTemplate/create

To create an account template, you must make a POST request to the endpoint referenced above.

curl -X 'POST' \
'https://userapi-demo.s2f.projectx.com/AccountTemplate/create' \
-H 'accept: text/plain' \
-H 'Content-Type: application/json' \
-d '{
"title": "AccountTemplate1",
"name": "AccountTemplate1",
"description": "My First Account Template",
"notes": "Notes About Account Template",
"startingBalance": 50000,
"margin": 30000,
"titleColor": "#561662",
"tag": 0
}'