POST
/
v2
/
job_description_search
/
embed
Create a signed URL for the embeddable job description search tool
curl --request POST \
  --url https://{region}.affinda.com/v2/job_description_search/embed \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "configOverride": {
    "allowPdfDownload": true,
    "maxResults": 10,
    "displayJobTitle": true,
    "displayLocation": true,
    "displayYearsExperience": true,
    "displayOccupationGroup": true,
    "displayEducation": true,
    "displaySkills": true,
    "displayLanguages": true,
    "displayManagementLevel": true,
    "displayKeywords": true,
    "weightJobTitle": 123,
    "weightLocation": 123,
    "weightYearsExperience": 123,
    "weightOccupationGroup": 123,
    "weightEducation": 123,
    "weightSkills": 123,
    "weightLanguages": 123,
    "weightManagementLevel": 123,
    "weightKeywords": 123,
    "indices": [
      "all-job-descriptions",
      "my-index"
    ],
    "showIndexDropdown": true,
    "searchToolTheme": {},
    "actions": [
      {
        "label": "<string>",
        "eventName": "<string>"
      }
    ],
    "customFieldsConfig": [
      {
        "dataPoint": "RdNAniIH",
        "weight": 0.5
      }
    ],
    "distanceUnit": "km"
  }
}'
{
  "url": "https://app.affinda.com/job-description-search?signature=eyJhbGxvd19wZGZkGZ"
}

Authorizations

Authorization
string
header
required

Basic authentication using an API key, e.g. {Authorization: Bearer 75z0bb4fbdf97b7e4111ff6c0015471094155f91}. You can find your API key within the Settings page of the Affinda web app. You can obtain an API key by signing up for a free trial.

Body

application/json

Response

200
application/json

Successfully created a signed URL.

The response is of type object.