Update application
curl --request PUT \
--url https://your-instance.example.com/api/applications/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pipelineId": "64a1b2c3d4e5f6001234567a",
"pipelineStage": "Application submitted",
"status": "in_progress"
}
'import requests
url = "https://your-instance.example.com/api/applications/{id}"
payload = {
"pipelineId": "64a1b2c3d4e5f6001234567a",
"pipelineStage": "Application submitted",
"status": "in_progress"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
pipelineId: '64a1b2c3d4e5f6001234567a',
pipelineStage: 'Application submitted',
status: 'in_progress'
})
};
fetch('https://your-instance.example.com/api/applications/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your-instance.example.com/api/applications/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'pipelineId' => '64a1b2c3d4e5f6001234567a',
'pipelineStage' => 'Application submitted',
'status' => 'in_progress'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://your-instance.example.com/api/applications/{id}"
payload := strings.NewReader("{\n \"pipelineId\": \"64a1b2c3d4e5f6001234567a\",\n \"pipelineStage\": \"Application submitted\",\n \"status\": \"in_progress\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://your-instance.example.com/api/applications/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"pipelineId\": \"64a1b2c3d4e5f6001234567a\",\n \"pipelineStage\": \"Application submitted\",\n \"status\": \"in_progress\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-instance.example.com/api/applications/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pipelineId\": \"64a1b2c3d4e5f6001234567a\",\n \"pipelineStage\": \"Application submitted\",\n \"status\": \"in_progress\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Application created successfully",
"data": {
"_id": "64d2f9c5e8a1d4e001a0b1c2",
"name": "Maple Court — Unit 412",
"organizationId": "64a1b2c3d4e5f60012345678",
"status": "in_progress",
"pipelineStage": "Tour scheduled",
"createdAt": "2026-04-12T14:22:10.000Z",
"updatedAt": "2026-04-12T14:22:10.000Z"
}
}{
"success": false,
"message": "Application not found"
}{
"success": false,
"message": "Application not found"
}{
"success": false,
"message": "Application not found"
}Applications
Update application
Patches mutable fields on an Application (status, pipelineStage, pipelineId, owner, custom fields). Pipeline-stage transitions are resolved against the application’s pipeline before saving. fromHistoryModal suppresses some side-effects when set.
PUT
/
api
/
applications
/
{id}
Update application
curl --request PUT \
--url https://your-instance.example.com/api/applications/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pipelineId": "64a1b2c3d4e5f6001234567a",
"pipelineStage": "Application submitted",
"status": "in_progress"
}
'import requests
url = "https://your-instance.example.com/api/applications/{id}"
payload = {
"pipelineId": "64a1b2c3d4e5f6001234567a",
"pipelineStage": "Application submitted",
"status": "in_progress"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
pipelineId: '64a1b2c3d4e5f6001234567a',
pipelineStage: 'Application submitted',
status: 'in_progress'
})
};
fetch('https://your-instance.example.com/api/applications/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your-instance.example.com/api/applications/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'pipelineId' => '64a1b2c3d4e5f6001234567a',
'pipelineStage' => 'Application submitted',
'status' => 'in_progress'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://your-instance.example.com/api/applications/{id}"
payload := strings.NewReader("{\n \"pipelineId\": \"64a1b2c3d4e5f6001234567a\",\n \"pipelineStage\": \"Application submitted\",\n \"status\": \"in_progress\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://your-instance.example.com/api/applications/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"pipelineId\": \"64a1b2c3d4e5f6001234567a\",\n \"pipelineStage\": \"Application submitted\",\n \"status\": \"in_progress\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://your-instance.example.com/api/applications/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pipelineId\": \"64a1b2c3d4e5f6001234567a\",\n \"pipelineStage\": \"Application submitted\",\n \"status\": \"in_progress\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Application created successfully",
"data": {
"_id": "64d2f9c5e8a1d4e001a0b1c2",
"name": "Maple Court — Unit 412",
"organizationId": "64a1b2c3d4e5f60012345678",
"status": "in_progress",
"pipelineStage": "Tour scheduled",
"createdAt": "2026-04-12T14:22:10.000Z",
"updatedAt": "2026-04-12T14:22:10.000Z"
}
}{
"success": false,
"message": "Application not found"
}{
"success": false,
"message": "Application not found"
}{
"success": false,
"message": "Application not found"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
Application updated
Returned by POST /api/applications and PUT /api/applications/{id} — wraps the created/updated ApplicationDocument plus a status message.
Available options:
true An Application document. Populated fields (contactId, userId) may be either an ObjectId string or a partial subset of the related document.
Show child attributes
Show child attributes
Example:
{
"_id": "64d2f9c5e8a1d4e001a0b1c2",
"name": "Maple Court — Unit 412",
"organizationId": "64a1b2c3d4e5f60012345678",
"contactId": {
"_id": "64b2c3d4e5f60012345678aa",
"firstName": "Alex",
"lastName": "Nguyen",
"phoneNumber": "+14155551234",
"email": "alex.nguyen@example.com"
},
"userId": {
"_id": "64a1b2c3d4e5f60012345679",
"fullName": "Jordan Lee",
"email": "jordan@maplegroup.example"
},
"status": "in_progress",
"pipelineId": "64a1b2c3d4e5f6001234567a",
"pipelineStage": "Tour scheduled",
"createdAt": "2026-04-12T14:22:10.000Z",
"updatedAt": "2026-04-22T10:14:00.000Z"
}
⌘I