Skip to main content
GET
Get a package

Authorizations

Authorization
string
header
required

Origin One API token. Pass it in the Authorization header: Authorization: Bearer <token>.

Path Parameters

id
string
required

Unique identifier of the resource.

Example:

"123"

Response

Success.

id
string
required

Unique identifier of the package.

Example:

"789"

name
string
required

Package name.

Example:

"DOT Pre-Employment Drug Test"

object
enum<string>
required

Object type; always package.

Available options:
package
Example:

"package"

locationIds
string[]
required

Locations that offer the package, under companies linked to the API token: those it is assigned to, and those that inherit it from their company.

Example:
services
object[]
required

Services the package includes, ordered by name.

url
string<uri-reference>
required

Canonical path of this resource, relative to the API origin.

Example:

"/api/v2/packages/789"