Skip to main content
POST
/
attachments
/
temporary
/
assign
Assign temporary attachments to records
curl --request POST \
  --url https://api.gospott.com/attachments/temporary/assign \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "attachments": [
    {
      "id": "<string>",
      "type": "unassigned",
      "name": "<string>"
    }
  ],
  "candidateId": "<string>",
  "companyId": "<string>",
  "vacancyId": "<string>"
}
'

Authorizations

x-api-key
string
header
required

API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.

Body

application/json
attachments
object[]
required

List of attachments to assign with their types and optional names

candidateId
string

ID of the candidate to link the attachments to

companyId
string

ID of the company to link the attachments to

vacancyId
string

ID of the vacancy to link the attachments to

Response

204 - undefined