---
updatedAt: 2025-06-12T23:05:29.000Z
agentTools:
  projectIndex: https://developers.bringg.com/llms.txt
---

# Start Shift

Use to start a driver's shift.

<details>
  <summary class="APISectionHeader-heading4MUMLbp4_nLs">Response (Output) Params</summary>

<br />

<HTMLBlock>{`
<div>
      <table class="param_table">
	<tr>
		<th><strong>Parameter</strong></th>
		<th><strong>Description</strong></th>
	</tr>
        <tr>
          <td>
            <p class="param_name">success</p>
            <p class="param_type">boolean</p>
          </td>
          <td>
            <p class="param_desc">Indicates whether the service completed successfully.</p>
            <ul class="param_desc">
              <li>
              <span class="value">false</span> - the service failed.</li>
              <li>
              <span class="value">true</span> - the service succeeded.</li>
            </ul>
          </td>
        </tr>
        <tr>
          <td>
            <p class="param_name">start_shift</p>
            <p class="param_type">datetime</p>
          </td>
          <td>
            <p class="param_desc">Indicates the shift start time. Format %Y-%m-%dT%H:%M:%S%z UTC.</p>
          </td>
        </tr>
        <tr>
          <td>
            <p class="param_name">end_shift</p>
            <p class="param_type">datetime</p>
          </td>
          <td>
            <p class="param_desc">Indicates the shift end time. Format %Y-%m-%dT%H:%M:%S%z UTC.</p>
          </td>
        </tr>
        <tr>
          <td>
            <p class="param_name">id</p>
            <p class="param_type">Int32</p>
          </td>
          <td>
            <p class="param_desc">The ID of the shift.</p>
          </td>
        </tr>
        <tr>
          <td>
            <p class="param_name">active_team_id</p>
            <p class="param_type">string</p>
          </td>
          <td>
            <p class="param_desc">The team the driver is working with during this shift.</p>
          </td>
        </tr>
      </table>
    </div>
`}</HTMLBlock>

</details>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "services-api-settings",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://developer-api.bringg.com/services"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/94kfjr8rj/{service_uuid1}/{service_uuid2}": {
      "post": {
        "summary": "Start Shift",
        "description": "Use to start a driver's shift.",
        "operationId": "start_shift",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "user_id",
                  "user_external_id"
                ],
                "properties": {
                  "user_id": {
                    "type": "integer",
                    "description": "Bringg's ID for the user. Required if no user_external_id.",
                    "format": "int32"
                  },
                  "user_external_id": {
                    "type": "string",
                    "description": "Your ID for the user. Must be unique per merchant. Required if no user_id."
                  }
                }
              },
              "examples": {
                "Start Shift using User ID": {
                  "value": {
                    "user_id": 12345
                  }
                },
                "Start Shift using User External ID": {
                  "value": {
                    "user_external_id": "john30294"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Service Succeeds": {
                    "value": "{\n   \"success\": true,\n   \"shift\": {\n      \"start_shift\": \"2024-12-31T14:00:16.768Z\",\n      \"end_shift\": null,\n      \"id\": 12345,\n      \"active_team_id\": null\n   }\n}"
                  },
                  "User already has an active shift": {
                    "value": "{\n    \"success\": false,\n    \"message\": \"User already has an active shift\",\n    \"reason\": \"User already has an active shift\",\n    \"rc\": 1\n}"
                  },
                  "User not found": {
                    "value": "{\n   \"success\": false,\n   \"rc\": 0,\n   \"message\": \"User not found\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "Service Succeeds",
                      "type": "object",
                      "properties": {
                        "success": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "shift": {
                          "type": "object",
                          "properties": {
                            "start_shift": {
                              "type": "string",
                              "example": "2024-12-31T14:00:16.768Z"
                            },
                            "end_shift": {},
                            "id": {
                              "type": "integer",
                              "example": 12345,
                              "default": 0
                            },
                            "active_team_id": {}
                          }
                        }
                      }
                    },
                    {
                      "title": "User already has an active shift",
                      "type": "object",
                      "properties": {
                        "success": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "message": {
                          "type": "string",
                          "example": "User already has an active shift"
                        },
                        "reason": {
                          "type": "string",
                          "example": "User already has an active shift"
                        },
                        "rc": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        }
                      }
                    },
                    {
                      "title": "User not found",
                      "type": "object",
                      "properties": {
                        "success": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "rc": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "message": {
                          "type": "string",
                          "example": "User not found"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```