curl -X POST https://api.companyflow.com/memos/550e8400-e29b-41d4-a716-446655440000/approve \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "comments": "Approved - looks good to proceed" }'
{ "success": true, "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "company_id": "123e4567-e89b-12d3-a456-426614174000", "created_by": "987e6543-e21b-12d3-a456-426614174000", "memo_type": "policy", "title": "Updated Remote Work Policy", "content": "Effective immediately, all employees are eligible for hybrid work arrangements...", "reference_number": "MEMO-2025-001", "priority": "high", "status": "approved", "current_step": 2, "approved_by": "abc12345-e89b-12d3-a456-426614174000", "approved_at": "2025-03-03T15:30:00Z", "created_at": "2025-03-03T10:00:00Z", "updated_at": "2025-03-03T15:30:00Z" }}
Memos
Approve Memo
Approve a memo at the current workflow step
POST
/
memos
/
{id}
/
approve
curl -X POST https://api.companyflow.com/memos/550e8400-e29b-41d4-a716-446655440000/approve \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "comments": "Approved - looks good to proceed" }'
{ "success": true, "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "company_id": "123e4567-e89b-12d3-a456-426614174000", "created_by": "987e6543-e21b-12d3-a456-426614174000", "memo_type": "policy", "title": "Updated Remote Work Policy", "content": "Effective immediately, all employees are eligible for hybrid work arrangements...", "reference_number": "MEMO-2025-001", "priority": "high", "status": "approved", "current_step": 2, "approved_by": "abc12345-e89b-12d3-a456-426614174000", "approved_at": "2025-03-03T15:30:00Z", "created_at": "2025-03-03T10:00:00Z", "updated_at": "2025-03-03T15:30:00Z" }}
Approve a memo at its current workflow approval step. This moves the memo forward in the approval chain or marks it as fully approved if this is the final step.
Requires authentication with Bearer token. Available to:
Manager
HR Manager
Super Admin
Only users with approval authority at the current workflow step can approve the memo. Employees without manager privileges cannot access this endpoint.