POST
/
unified
/
ats
/
offers
curl --request POST \
  --url https://api.stackone.com/unified/ats/offers \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'x-account-id: <x-account-id>' \
  --data '{
  "application_id": "<string>",
  "start_date": "2021-01-01T01:01:01.000Z",
  "offer_status": {
    "value": "pending",
    "source_value": "Pending"
  },
  "salary": 123,
  "currency": "<string>",
  "offer_history": [
    {
      "start_date": "2021-01-01T01:01:01.000Z",
      "salary": 123,
      "currency": "<string>",
      "created_at": "2021-01-01T01:01:01.000Z",
      "updated_at": "2021-01-01T01:01:01.000Z"
    }
  ],
  "passthrough": {
    "other_known_names": "John Doe"
  }
}'
{
  "statusCode": 201,
  "message": "Record created successfully.",
  "timestamp": "2021-01-01T01:01:01.000Z",
  "data": {
    "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
    "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

x-account-id
string
required

The account identifier

Body

application/json

Response

200
application/json
The offer was created successfully.

The response is of type object.