POST
/
contacts
curl --request POST \
  --url https://api.alpharun.com/api/v1/contacts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "job_opening_id": "<string>",
    "email": "[email protected]",
    "first_name": "<string>",
    "last_name": "<string>",
    "phone_number": "<string>",
    "resume": {
      "content": "<string>",
      "mimetype": "<string>"
    },
    "custom_fields": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ],
    "interview_custom_fields": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ]
  }
]'
{
  "successful_imports_count": 123,
  "failed_imports_count": 123,
  "failed_contacts": [
    {
      "job_opening_id": "<string>",
      "email": "[email protected]",
      "first_name": "<string>",
      "last_name": "<string>",
      "phone_number": "<string>",
      "resume": {
        "content": "<string>",
        "mimetype": "<string>"
      },
      "custom_fields": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ],
      "interview_custom_fields": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json · object[]

Array of candidates to add to the job opening

Response

200
application/json

Candidates import results

The response is of type object.

POST
/
contacts
curl --request POST \
  --url https://api.alpharun.com/api/v1/contacts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "job_opening_id": "<string>",
    "email": "[email protected]",
    "first_name": "<string>",
    "last_name": "<string>",
    "phone_number": "<string>",
    "resume": {
      "content": "<string>",
      "mimetype": "<string>"
    },
    "custom_fields": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ],
    "interview_custom_fields": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ]
  }
]'
{
  "successful_imports_count": 123,
  "failed_imports_count": 123,
  "failed_contacts": [
    {
      "job_opening_id": "<string>",
      "email": "[email protected]",
      "first_name": "<string>",
      "last_name": "<string>",
      "phone_number": "<string>",
      "resume": {
        "content": "<string>",
        "mimetype": "<string>"
      },
      "custom_fields": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ],
      "interview_custom_fields": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json · object[]

Array of candidates to add to the job opening

Response

200
application/json

Candidates import results

The response is of type object.