curl --request GET \
--url https://{organization}.rescueconsole.com/api/forms/submissions/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/forms/submissions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/forms/submissions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"submission": {
"id": "<string>",
"form_id": "<string>",
"answers": {},
"status": "new",
"submitted_at": "2023-11-07T05:31:56Z",
"animal_ids": [
"<string>"
],
"submitter_name": "<string>",
"submitter_email": "<string>",
"notes": "<string>",
"reviewed_by_person_id": "<string>",
"reviewed_at": "2023-11-07T05:31:56Z",
"converted_to_type": "<string>",
"converted_to_id": "<string>",
"converted_how": "created",
"decision": "approved",
"decided_at": "2023-11-07T05:31:56Z",
"decided_by_person_id": "<string>",
"decision_note": "<string>",
"held_at": "2023-11-07T05:31:56Z",
"hold_reason": "<string>",
"application_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"form_title": "<string>",
"form_slug": "<string>",
"form_kind": "adoption_application",
"application_status": "<string>",
"application_stage": "<string>",
"application_stage_label": "<string>",
"assignees": [
{
"person_id": "<string>",
"name": "<string>"
}
],
"animals": [
{
"id": "<string>",
"name": "<string>",
"species": "dog"
}
],
"decided_by_name": "<string>"
},
"fields": [
{
"field_key": "<string>",
"label": "<string>"
}
],
"can_write": true,
"can_decide": true
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Get one submission
One submission, with the animals the applicant picked, who decided on it by name, who it is assigned to, and the labels its form’s questions have today. Needs read on the area of the form’s kind; one your key may not read answers 404.
curl --request GET \
--url https://{organization}.rescueconsole.com/api/forms/submissions/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/forms/submissions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/forms/submissions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"submission": {
"id": "<string>",
"form_id": "<string>",
"answers": {},
"status": "new",
"submitted_at": "2023-11-07T05:31:56Z",
"animal_ids": [
"<string>"
],
"submitter_name": "<string>",
"submitter_email": "<string>",
"notes": "<string>",
"reviewed_by_person_id": "<string>",
"reviewed_at": "2023-11-07T05:31:56Z",
"converted_to_type": "<string>",
"converted_to_id": "<string>",
"converted_how": "created",
"decision": "approved",
"decided_at": "2023-11-07T05:31:56Z",
"decided_by_person_id": "<string>",
"decision_note": "<string>",
"held_at": "2023-11-07T05:31:56Z",
"hold_reason": "<string>",
"application_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"form_title": "<string>",
"form_slug": "<string>",
"form_kind": "adoption_application",
"application_status": "<string>",
"application_stage": "<string>",
"application_stage_label": "<string>",
"assignees": [
{
"person_id": "<string>",
"name": "<string>"
}
],
"animals": [
{
"id": "<string>",
"name": "<string>",
"species": "dog"
}
],
"decided_by_name": "<string>"
},
"fields": [
{
"field_key": "<string>",
"label": "<string>"
}
],
"can_write": true,
"can_decide": true
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Authorizations
An API key from Settings, API keys. It starts with rc_live_.
Path Parameters
The submission's record ID.
Response
The submission.
One submission. The list also carries the form's title, address and kind, the application made from it, and the assignees; changing one returns the submission alone.
Show child attributes
Show child attributes
The form's questions as they are today, in order, to label the answers. An answer to a question removed since has no label here.
Show child attributes
Show child attributes
Whether your key may change it.
Whether it is a kind that is approved or rejected.