The Official Standard Life Organization API for the management of assets and their depreciation value over time
This documentation aims to provide all the information you need to work with our API.
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking Generate API token.
Search For An Account.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/accounts?query=0" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/accounts" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"gl_code\": \"ullam\",
\"name\": \"sit\",
\"description\": \"Ullam rerum harum dolor modi.\",
\"type\": \"asset\"
}"
The ID of the account.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/accounts/mollitia" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the account.
curl --request PUT \
"https://assetapi.insuretech.com.ng/api/v1/accounts/aspernatur" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"gl_code\": \"possimus\",
\"name\": \"reprehenderit\",
\"description\": \"Molestiae sapiente sit tempore exercitationem id.\",
\"type\": \"asset\"
}"
The ID of the account.
curl --request DELETE \
"https://assetapi.insuretech.com.ng/api/v1/accounts/possimus" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Search An Asset Category.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/asset-categories?query=Test" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/asset-categories" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"provident\",
\"description\": \"Animi unde voluptatem praesentium est nostrum.\"
}"
The slug of the category.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/asset-categories/14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The slug of the category.
curl --request PUT \
"https://assetapi.insuretech.com.ng/api/v1/asset-categories/8" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"earum\",
\"description\": \"Nam deleniti ut enim autem est minima quia consequatur.\"
}"
The slug of the category.
curl --request DELETE \
"https://assetapi.insuretech.com.ng/api/v1/asset-categories/11" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Search An Asset Within Office.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/assets?query=Test" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/assets" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "office_id=et"\
--form "category_id=iusto"\
--form "asset_account_id=nihil"\
--form "expense_account_id=eos"\
--form "name=error"\
--form "serial_number=non"\
--form "brand=ipsam"\
--form "model=rerum"\
--form "vendor=atque"\
--form "vendor_phone=sed"\
--form "vendor_address=odit"\
--form "description=Quis hic ducimus corporis animi voluptate."\
--form "cost=0.00706"\
--form "purchase_date=2025-04-24T17:27:17"\
--form "warranty_duration=8"\
--form "warranty_expiry_date=2025-04-24T17:27:17"\
--form "depreciation_rate=2101903"\
--form "depreciation_duration=76"\
--form "final_year_depreciation_rate=374502.3471"\
--form "image=@C:\Users\ranke\AppData\Local\Temp\php7AED.tmp" \
--form "proof_of_purchase=@C:\Users\ranke\AppData\Local\Temp\php7AFE.tmp" curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/assets/vendors" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The slug of the asset.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/assets/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The slug of the asset.
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/assets/harum" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "office_id=veritatis"\
--form "category_id=quos"\
--form "asset_account_id=aliquam"\
--form "expense_account_id=quis"\
--form "name=sunt"\
--form "serial_number=aut"\
--form "brand=exercitationem"\
--form "model=molestiae"\
--form "vendor=rerum"\
--form "vendor_phone=voluptatem"\
--form "vendor_address=corporis"\
--form "description=Minima sed et minima consequuntur esse eos velit."\
--form "cost=358235277.8"\
--form "purchase_date=2025-04-24T17:27:17"\
--form "warranty_duration=20"\
--form "warranty_expiry_date=2025-04-24T17:27:17"\
--form "depreciation_rate=1940610.403"\
--form "depreciation_duration=64"\
--form "final_year_depreciation_rate=1796.6494"\
--form "image=@C:\Users\ranke\AppData\Local\Temp\php7B4F.tmp" \
--form "proof_of_purchase=@C:\Users\ranke\AppData\Local\Temp\php7B50.tmp" The slug of the asset.
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/assets/transfer/et" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"office_id\": \"et\",
\"staff_id\": \"reprehenderit\",
\"note\": \"uiio\"
}"
The slug of the asset.
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/assets/dispatch/quod" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"office_id\": \"reprehenderit\",
\"staff_id\": \"ullam\",
\"condition\": \"temporary\",
\"note\": \"xvfeeiyfjtemfvxnrqacr\"
}"
The slug of the asset.
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/assets/mark/suscipit/damaged" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"office_id\": \"neque\",
\"staff_id\": \"sequi\",
\"note\": \"deojosgsp\"
}"
The slug of the asset.
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/assets/mark/autem/repairs" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"office_id\": \"suscipit\",
\"staff_id\": \"nostrum\",
\"note\": \"rtonzhbhmajoeah\"
}"
The slug of the asset.
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/assets/mark/iste/donated" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"recipient_name\": \"nihil\",
\"recipient_phone\": \"in\",
\"recipient_address\": \"id\",
\"reason\": \"reprehenderit\"
}"
The slug of the asset.
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/assets/mark/pariatur/sold" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "buyer_name=distinctio"\
--form "buyer_phone=molestiae"\
--form "sale_price=27"\
--form "sale_profit=64"\
--form "sale_loss=28"\
--form "note=aspernatur"\
--form "sale_date=2025-04-24T17:27:17"\
--form "payment_method=bank transfer"\
--form "attachment=@C:\Users\ranke\AppData\Local\Temp\php7BB2.tmp" The slug of the asset.
curl --request PATCH \
"https://assetapi.insuretech.com.ng/api/v1/assets/mark/qui/stolen" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"note\": \"et\"
}"
The slug of the asset.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/assets/history/labore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the history.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/assets/view-history/3" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The slug of the asset.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/assets/repellendus/depreciation-schedule" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The slug of the asset.
curl --request PATCH \
"https://assetapi.insuretech.com.ng/api/v1/assets/totam/adjust-cost" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"staff_id\": \"SLO\\/1900\",
\"password\": \"~vQ{2!;)`*;.;V\"
}"
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/logout" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/reset-password" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"old_password\": \"vel\",
\"new_password\": \"sint\"
}"
Filter By Module The Form Applies To.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/custom-forms?query=Asset" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/custom-forms" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"eligendi\",
\"applies_to\": \"sit\",
\"on\": \"eaque\",
\"fields\": [
{
\"name\": \"name\",
\"type\": \"int\",
\"required\": true
}
]
}"
The ID of the form.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/custom-forms/nesciunt" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the form.
curl --request PUT \
"https://assetapi.insuretech.com.ng/api/v1/custom-forms/iusto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"consequuntur\",
\"applies_to\": \"illo\",
\"on\": \"labore\",
\"fields\": [
{
\"name\": \"name\",
\"type\": \"int\",
\"required\": true
}
]
}"
The ID of the form.
curl --request DELETE \
"https://assetapi.insuretech.com.ng/api/v1/custom-forms/velit" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The period to filter the statistics.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/dashboard?period=12" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/health" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
x-ratelimit-limit
: 60
x-ratelimit-remaining
: 59
access-control-allow-origin
: *
{
"status": "OK",
"services": {
"database": "up"
}
}
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/settings/migrations" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"files\": [
\"non\"
]
}"
{
"message": "Migration file uploaded successfully.",
"files": {
"path": "path-to-file",
"name": "example file",
"extension": "xlsx",
"size": "3MB"
},
"total_files": 3,
"total_size": "357982MB"
"success": true
}
curl --request PATCH \
"https://assetapi.insuretech.com.ng/api/v1/settings/notifications/toggle/repair-due-date" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request PATCH \
"https://assetapi.insuretech.com.ng/api/v1/settings/notifications/toggle/depreciated-asset-notify" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" optional The search query.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/notifications?query=%27user%27" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the notification.
The ID of the notification.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/notifications/dignissimos" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the notification.
The ID of the notification.
curl --request DELETE \
"https://assetapi.insuretech.com.ng/api/v1/notifications/quidem" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request DELETE \
"https://assetapi.insuretech.com.ng/api/v1/notifications" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the notification.
The ID of the notification.
curl --request PUT \
"https://assetapi.insuretech.com.ng/api/v1/notifications/mark/tempore/read" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request PUT \
"https://assetapi.insuretech.com.ng/api/v1/notifications/mark-all-as-read" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Search An Office.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/offices?query=Head+Office" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/offices" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"pick a name\",
\"description\": \"describe the office\",
\"location\": \"pick a location\",
\"parent_office_id\": \"harum\"
}"
The slug of the office.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/offices/13" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The slug of the office.
curl --request PUT \
"https://assetapi.insuretech.com.ng/api/v1/offices/14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"pick a name\",
\"description\": \"describe the office\",
\"location\": \"pick a location\",
\"parent_office_id\": \"temporibus\"
}"
The slug of the office.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/offices/10/staff" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
a search term.
Sort the results by the given field.
Sort the results by the given order.
Filter results by a given Office.
Filter results by a given Category.
Filter results by a given Status.
Filter results by a given Start Date.
Filter results by a given End Date.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/reports/inventory?query=cumque&sort_by=nihil&sort_order=sit¤t_office_id=8&category_id=5&status=et&date_from=deleniti&date_to=labore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
a search term.
Sort the results by the given field.
Sort the results by the given order.
Filter results by a given Office.
Filter results by a given Category.
string Filter results by a Depreciation Status.
Filter results by a given Start Date.
Filter results by a given End Date.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/reports/depreciation?query=ullam&sort_by=sapiente&sort_order=at&office_id=17&category_id=17&depreciated_status=1&date_from=voluptatem&date_to=id" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
a search term.
Sort the results by the given field.
Sort the results by the given order.
Filter results by a given Purchase Office.
Filter results by a given Category.
Filter results by a given Vendor.
Filter results by a given Start Date.
Filter results by a given End Date.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/reports/purchases?query=odio&sort_by=accusantium&sort_order=voluptate&office_id=20&category_id=11&vendor=nihil&date_from=nostrum&date_to=libero" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
a search term.
Sort the results by the given field.
Sort the results by the given order.
Filter results by a given Purchase Office.
Filter results by a given Office.
Filter results by a given Category.
Filter results by a given Start Date.
Filter results by a given End Date.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/reports/location?query=nemo&sort_by=et&sort_order=aspernatur&purchase_office_id=1&office_id=9&category_id=13&date_from=voluptate&date_to=eum" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
a search term.
Sort the results by the given field.
Sort the results by the given order.
Filter results by a given Purchase Office.
Filter results by a given Office.
Filter results by a given Category.
Filter results by a given Start Date.
Filter results by a given End Date.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/reports/sales?query=laborum&sort_by=sapiente&sort_order=soluta&purchase_office_id=5&office_id=20&category_id=13&date_from=voluptatem&date_to=ut" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
a search term.
Sort the results by the given field.
Sort the results by the given order.
Filter results by a given Office.
Filter results by a given Category.
Filter results by Warranty Status.
Filter results by a given Start Date.
Filter results by a given End Date.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/reports/warranty?query=et&sort_by=maxime&sort_order=velit&office_id=8&category_id=4&warranty_status=quia&date_from=harum&date_to=rerum" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
a search term.
Sort the results by the given field.
Sort the results by the given order.
Filter results by a given Purchase Office.
Filter results by a given Office.
Filter results by a given Entity Type.
Filter results by a given Start Date.
Filter results by a given End Date.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/reports/audit?query=ea&sort_by=dolorum&sort_order=quae&user_id=19&office_id=2&entity=staff&date_from=aut&date_to=unde" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
a search term.
Sort the results by the given field.
Sort the results by the given order.
Filter results by a given Purchase Office.
Filter results by a given Office.
Filter results by a given Start Date.
Filter results by a given End Date.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/reports/financial?query=perferendis&sort_by=et&sort_order=dolor&category_id=16&office_id=7&date_from=non&date_to=qui" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
Get Results For An Interval.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/reports/summary?year=dignissimos" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/reports/year-range" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/guards" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/guards" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"autem\",
\"description\": \"Quisquam libero soluta quis libero perferendis eligendi aspernatur.\"
}"
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/guards/permissions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"module_slug\": \"nisi\",
\"permissions\": []
}"
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/guards/list-modules" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The slug of the role.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/guards/corrupti/view" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The slug of the role.
curl --request PUT \
"https://assetapi.insuretech.com.ng/api/v1/guards/dolor/edit" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"et\",
\"description\": \"Laudantium omnis ea velit ab.\"
}"
The slug of the role.
curl --request DELETE \
"https://assetapi.insuretech.com.ng/api/v1/guards/quas/delete" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The slug of the role.
curl --request PATCH \
"https://assetapi.insuretech.com.ng/api/v1/guards/adipisci/toggle" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The slug of the role.
The slug of the module.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/guards/blanditiis/permissions/odio" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The slug of the role.
The slug of the module.
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/guards/quaerat/permissions/non" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"permissions\": [
\"corporis\"
]
}"
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/settings/depreciation-settings" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request PATCH \
"https://assetapi.insuretech.com.ng/api/v1/settings/depreciation-settings" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"accumulation\": \"daily\",
\"posting\": \"monthly\"
}"
Search A Staff.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/staff?query=Staff" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/staff" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"staff_id\": \"autem\",
\"office_id\": \"vel\",
\"firstname\": \"illo\",
\"lastname\": \"quisquam\",
\"email\": \"jeanie.lind@example.net\",
\"designation\": \"architecto\"
}"
The slug of the staff.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/staff/18" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The slug of the staff.
curl --request PUT \
"https://assetapi.insuretech.com.ng/api/v1/staff/16" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"staff_id\": \"illum\",
\"office_id\": \"odio\",
\"firstname\": \"beatae\",
\"lastname\": \"ut\",
\"email\": \"lflatley@example.net\",
\"designation\": \"quasi\"
}"
The slug of the staff.
curl --request DELETE \
"https://assetapi.insuretech.com.ng/api/v1/staff/14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The slug of the staff.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/staff/20/assets" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
Search A User.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/users?query=Dev" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://assetapi.insuretech.com.ng/api/v1/users" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"staff_id\": \"a\",
\"firstname\": \"numquam\",
\"lastname\": \"repellendus\",
\"email\": \"kmcclure@example.org\",
\"password\": \"hDDQypi-,]#Ubq(I\",
\"office_id\": \"corrupti\",
\"role\": \"user\"
}"
The slug of the user.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/users/9ec0f37a-a2f0-4e6d-83b4-09132288ff2f" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The slug of the user.
curl --request PUT \
"https://assetapi.insuretech.com.ng/api/v1/users/9ec0f37a-a2f0-4e6d-83b4-09132288ff2f" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"staff_id\": \"labore\",
\"firstname\": \"vitae\",
\"lastname\": \"sit\",
\"email\": \"qroberts@example.net\",
\"password\": \"!:|s\\/l\",
\"office_id\": \"laborum\",
\"role\": \"user\"
}"
The slug of the user.
curl --request PATCH \
"https://assetapi.insuretech.com.ng/api/v1/users/9ec0f37a-a2f0-4e6d-83b4-09132288ff2f" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Search For Data.
curl --request GET \
--get "https://assetapi.insuretech.com.ng/api/v1/activities?query=head" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}