---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/taskrouter/quickstart/python/accept-reservations#article
headline: "Part 2: Creating Tasks and Accepting Reservations"
description: Create Tasks in a TaskRouter Workspace with Python and the REST API, then accept Reservations between Tasks and available Workers using assignment callbacks.
url: https://www.twilio.com/docs/taskrouter/quickstart/python/accept-reservations
inLanguage: en
dateModified: 2026-07-06T16:59:46.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Part 2: Creating Tasks and Accepting Reservations

In Part 2 of the TaskRouter Python Quickstart, you create Tasks in your Workspace and accept Reservations between Tasks and available Workers. Complete these steps:

1. [Set up the Assignment Callback URL](/docs/taskrouter/quickstart/python/reservations-assignment-callback)
2. [Create a Task using the REST API](/docs/taskrouter/quickstart/python/reservations-create-task-rest)
3. [Accept a Reservation using the REST API](/docs/taskrouter/quickstart/python/reservations-accept-rest)
4. [Accept a Reservation using Assignment Callback Instructions](/docs/taskrouter/quickstart/python/reservations-accept-callback)
