curl --request POST \
--url https://api.ai2fin.com/api/bills \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"amount": 123,
"dueDate": "2023-12-25",
"categoryId": "<string>",
"notes": "<string>"
}
'curl --request POST \
--url https://api.ai2fin.com/api/bills \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"amount": 123,
"dueDate": "2023-12-25",
"categoryId": "<string>",
"notes": "<string>"
}
'JWT token obtained from /api/auth/login endpoint. Use for standard API access and OAuth-based integrations.
Bill created successfully