KKatch Developers

Get branch list

GET
/tasks/branches

Returns the list of branch names. Usable as selectedBranch on Create Task.

Authorization

apiKeyAuth
headerAuthorization<token>

Required on every request. Send apikey <your-api-key>, together with the x-seller-id header.

Header Parameters

x-seller-id*string

Your seller id.

Response Body

Branch list retrieved successfully

application/json
  1. response
branches?array<string>
curl -X GET "https://example.com/tasks/branches" \  -H "x-seller-id: YOUR_SELLER_ID"
{  "branches": [    "Downtown Branch",    "Farwaniya Branch"  ]}