cURL
curl --request POST \ --url https://api-message.nativehub.live/api/v1/scheduled-messages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "from": "+8801912345678", "to": "+8801712345678", "body": "Reminder: Your appointment is tomorrow at 3 PM.", "scheduled_at": "2026-02-15T09:00:00Z" } '
{ "id": "a3b4c5d6-e7f8-9012-ab34-567890123456", "tenant_id": "c3d4e5f6-a7b8-9012-cdef-123456789012", "account_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "from_number": "+8801912345678", "to_number": "+8801712345678", "body": "Reminder: Your appointment is tomorrow at 3 PM.", "status": "pending", "scheduled_at": "2026-02-15T09:00:00Z", "created_at": "2026-02-14T14:00:00Z" }
Schedule a message for future delivery
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Message scheduled successfully