curl --request POST \
--url https://staging-api.tyms.io/v1/adam/assets \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "Dell Laptop",
"date": "2026-02-01",
"amount": 850000,
"amount_paid": 850000,
"payment_category": "Main Operating Account",
"description": "Engineering laptop",
"status": "active"
}
'import requests
url = "https://staging-api.tyms.io/v1/adam/assets"
payload = {
"name": "Dell Laptop",
"date": "2026-02-01",
"amount": 850000,
"amount_paid": 850000,
"payment_category": "Main Operating Account",
"description": "Engineering laptop",
"status": "active"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Dell Laptop',
date: '2026-02-01',
amount: 850000,
amount_paid: 850000,
payment_category: 'Main Operating Account',
description: 'Engineering laptop',
status: 'active'
})
};
fetch('https://staging-api.tyms.io/v1/adam/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"message": "Asset created successfully",
"data": {
"uuid": "asset-uuid-1",
"name": "Dell Laptop",
"date": "2026-02-01",
"amount": 850000,
"status": "active",
"currency": "NGN"
}
}{
"status": "failed",
"message": "<string>"
}Create fixed asset
Capitalize a new fixed asset. Set amount_paid and payment_category to record an immediate cash payment. Asset depreciation schedules are managed in-app.
curl --request POST \
--url https://staging-api.tyms.io/v1/adam/assets \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "Dell Laptop",
"date": "2026-02-01",
"amount": 850000,
"amount_paid": 850000,
"payment_category": "Main Operating Account",
"description": "Engineering laptop",
"status": "active"
}
'import requests
url = "https://staging-api.tyms.io/v1/adam/assets"
payload = {
"name": "Dell Laptop",
"date": "2026-02-01",
"amount": 850000,
"amount_paid": 850000,
"payment_category": "Main Operating Account",
"description": "Engineering laptop",
"status": "active"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Dell Laptop',
date: '2026-02-01',
amount: 850000,
amount_paid: 850000,
payment_category: 'Main Operating Account',
description: 'Engineering laptop',
status: 'active'
})
};
fetch('https://staging-api.tyms.io/v1/adam/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"message": "Asset created successfully",
"data": {
"uuid": "asset-uuid-1",
"name": "Dell Laptop",
"date": "2026-02-01",
"amount": 850000,
"status": "active",
"currency": "NGN"
}
}{
"status": "failed",
"message": "<string>"
}Authorizations
Business secret tyms_sk_... for business-scoped routes. Partner secret for register-business and referred-business distributor routes.
Body
Asset name. Alias: title.
Acquisition date.
Asset cost / purchase price.
Cash paid on acquisition.
Cash or bank name used to pay for the asset.
Asset description.
Default active.
Branch id. If you also send branch_name and this is empty, the name is used.
Branch name, ignoring capital letters. Used only when branch_uuid is empty. If no branch has that name, the asset uses the default branch. A branch is not created. On an update, send the id; this name is ignored.
Department id. Used ahead of department_name. An unknown id is kept and does not create a department.
Department name, ignoring capital letters. Used only when department_uuid is empty. If no department has that name, the asset is left without a department. On an update, send the id; this name is ignored.
Project id. Used ahead of project_name. An unknown id is kept and does not create a project.
Project name, ignoring capital letters. Used only when project_uuid is empty. If no project has that name, the asset is left without a project. On an update, send the id; this name is ignored.
Team member id. Used ahead of employee_name. An unknown id is kept.
Full name, ignoring capital letters. Used only when employee_uuid is empty. If nobody matches, the asset is left without a team member. On an update, send the id; this name is ignored.
Response
Asset created