Get branch list
GET
Returns the list of branch names. Usable as selectedBranch on Create Task.
apiKeyAuthheader
Authorization<token>Required on every request. Send apikey <your-api-key>, together with the x-seller-id header.
x-seller-id*stringYour seller id.
Branch list retrieved successfully
application/json- response
branches?array<string>curl -X GET "https://example.com/tasks/branches" \ -H "x-seller-id: YOUR_SELLER_ID"{ "branches": [ "Downtown Branch", "Farwaniya Branch" ]}