Search & Match - Embedding
Create a signed URL for the embeddable resume search tool
Create and return a signed URL of the resume search tool which then can be embedded on a web page. An optional parameter config_override can be passed to override the user-level configurations of the embeddable resume search tool.
post/v2/resume_search/embed
Request body
Example request
{
"configOverride": {
"maxResults": 10,
"indices": [
"all-resumes",
"my-index"
],
"userId": 1234,
"username": "big.smoke",
"actions": [
{
"label": "Add to shortlist",
"eventName": "addToShortlist"
}
],
"customFieldsConfig": [
{
"dataPoint": "RdNAniIH",
"weight": 0.5
}
],
"distanceUnit": "km"
}
}Response
Successfully created a signed URL.
Example response
{
"url": "https://app.affinda.com/resume-search?signature=eyJhbGxvd19wZGZfZG"
}