Error
A valid request URL is required to generate request examples{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"employmentType": "employee",
"contractType": "employment_at_will",
"status": "draft",
"worker": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"startDate": "2023-12-25",
"endDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}API Reference
Initialize a draft for review and completion in Shor
POST
/
contracts
Error
A valid request URL is required to generate request examples{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"employmentType": "employee",
"contractType": "employment_at_will",
"status": "draft",
"worker": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"startDate": "2023-12-25",
"endDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "authentication_error",
"code": "<string>",
"message": "<string>",
"status": 0,
"requestId": "<string>",
"details": [
{
"path": "<string>",
"code": "<string>"
}
]
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Unique intent ID. Preserve across retries; use a new value for an intentional new operation.
Required string length:
16 - 128Pattern:
^[A-Za-z0-9_-]+$Body
application/json
Required string length:
1 - 200Maximum string length:
254Pattern:
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Maximum string length:
10000Available options:
employee, contractor Available options:
employment_at_will, contractor_fixed, contractor_milestone, contractor_payg, contractor_creator Required string length:
2Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Required range:
0 <= x <= 9007199254740991Available options:
business_development, customer_support, data, design, engineering, finance, hr, it, legal, marketing, operations, product, sales, other Available options:
intern, lv1, lv2, lv3, lv4, lv5, lead, manager, director, vp, c_level Available options:
full_time, part_time Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Maximum string length:
20000Available options:
arbitration, court Required string length:
2Maximum string length:
100Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Required string length:
1 - 128Response
Success
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Available options:
employee, contractor Available options:
employment_at_will, contractor_fixed, contractor_milestone, contractor_payg, contractor_creator Available options:
draft, pending_verification, ready_for_signature, pending_signature, signed, active, offboarding, completed, cancelled Show child attributes
Show child attributes
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Was this page helpful?