Retrieve User Applications
Retrieve User Applications is a crucial part of the Wrangle platform — it enables user-specific management of applications. On this page, we'll explore how to retrieve all applications from a specific user programmatically. We'll look at how to send a request and handle the response.
Return Schema
The application model contains detailed information about the job applications you can access, including job ID, URL, inputs, filename, cover letter, and profile ID.
Properties
- Name
jobId
- Type
- string
- Description
Unique identifier for the job.
- Name
url
- Type
- string
- Description
The URL for the job application.
- Name
inputs
- Type
- array
- Description
An array of input objects containing information such as label, tag, type, selector, and value.
- Name
filename
- Type
- string
- Description
The filename for the associated document.
- Name
coverLetter
- Type
- string
- Description
Cover letter text for the application.
- Name
profileId
- Type
- string
- Description
Unique identifier for the profile associated with the application.
The Request
- Name
uid
- Type
- string
- Description
Unique identifier for the requested user.
Returns
An array of application dictionaries.
Endpoint Usage
This endpoint allows the caller to retrieve all applications for a specific user within a company by providing a unique user identifier (uid) within the request body.
Retrieve User Applications
This endpoint allows the caller to retrieve all applications for a specific user. The only necessary parameter is the uid.
We generally recommend using this endpoint to retrieve data regarding a specific user's submitted applications. It returns granular data from all of the user's applications such as job ID, inputs, resume submitted, etc.
Request
curl -X POST https://app.wranglejobs.com/api/api-retrieve-user-apps \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {api-key}" \
-d '{"uid": "user_unique_identifier"}'
Response
{
"apps": [
{
"jobId": "abc123",
"url": "https://example.com/job/abc123",
"inputs": [
{
"label": "First Name",
"tag": "input",
"type": "text",
"selector": "#first-name",
"value": "John"
},
// ...
],
"filename": "resume.pdf",
"coverLetter": "My cover letter text",
"profileId": "def456"
},
]
}