Emergency contacts

get
Authorizations
Responses
200Success
application/json
get
GET /api/users/emergency-contacts HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Accept: */*
200Success
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "legacy_id": "text",
    "nextgen_legacy_id": "text",
    "created_at": "2025-07-23T12:31:42.851Z",
    "updated_at": "2025-07-23T12:31:42.851Z",
    "first_name": "text",
    "middle_name": "text",
    "last_name": "text",
    "phone": "text",
    "email": "[email protected]",
    "relationship": "text"
  }
]
post
Authorizations
Body
idstring · uuidRead-onlyRequired
legacy_idstring | nullableOptional
nextgen_legacy_idstring | nullableOptional
created_atstring · date-time | nullableOptional
updated_atstring · date-timeRead-onlyRequired
first_namestring · max: 50Required
middle_namestring | nullableOptional
last_namestring · max: 50Required
phonestringRequired
emailstring · email · max: 254Required
relationshipstring · max: 50Required
Responses
201Success
application/json
post
POST /api/users/emergency-contacts HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 209

{
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "created_at": "2025-07-23T12:31:42.851Z",
  "first_name": "text",
  "middle_name": "text",
  "last_name": "text",
  "phone": "text",
  "email": "[email protected]",
  "relationship": "text"
}
201Success
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "created_at": "2025-07-23T12:31:42.851Z",
  "updated_at": "2025-07-23T12:31:42.851Z",
  "first_name": "text",
  "middle_name": "text",
  "last_name": "text",
  "phone": "text",
  "email": "[email protected]",
  "relationship": "text"
}
get
Authorizations
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /api/users/emergency-contacts/{id} HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Accept: */*
200Success
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "created_at": "2025-07-23T12:31:42.851Z",
  "updated_at": "2025-07-23T12:31:42.851Z",
  "first_name": "text",
  "middle_name": "text",
  "last_name": "text",
  "phone": "text",
  "email": "[email protected]",
  "relationship": "text"
}
put
Authorizations
Path parameters
idstringRequired
Body
idstring · uuidRead-onlyRequired
legacy_idstring | nullableOptional
nextgen_legacy_idstring | nullableOptional
created_atstring · date-time | nullableOptional
updated_atstring · date-timeRead-onlyRequired
first_namestring · max: 50Required
middle_namestring | nullableOptional
last_namestring · max: 50Required
phonestringRequired
emailstring · email · max: 254Required
relationshipstring · max: 50Required
Responses
200Success
application/json
put
PUT /api/users/emergency-contacts/{id} HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 209

{
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "created_at": "2025-07-23T12:31:42.851Z",
  "first_name": "text",
  "middle_name": "text",
  "last_name": "text",
  "phone": "text",
  "email": "[email protected]",
  "relationship": "text"
}
200Success
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "created_at": "2025-07-23T12:31:42.851Z",
  "updated_at": "2025-07-23T12:31:42.851Z",
  "first_name": "text",
  "middle_name": "text",
  "last_name": "text",
  "phone": "text",
  "email": "[email protected]",
  "relationship": "text"
}
delete
Authorizations
Path parameters
idstringRequired
Responses
204
No response body
delete
DELETE /api/users/emergency-contacts/{id} HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Accept: */*
204

No response body

No content

patch
Authorizations
Path parameters
idstringRequired
Body
idstring · uuidRead-onlyOptional
legacy_idstring | nullableOptional
nextgen_legacy_idstring | nullableOptional
created_atstring · date-time | nullableOptional
updated_atstring · date-timeRead-onlyOptional
first_namestring · max: 50Optional
middle_namestring | nullableOptional
last_namestring · max: 50Optional
phonestringOptional
emailstring · email · max: 254Optional
relationshipstring · max: 50Optional
Responses
200Success
application/json
patch
PATCH /api/users/emergency-contacts/{id} HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 209

{
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "created_at": "2025-07-23T12:31:42.851Z",
  "first_name": "text",
  "middle_name": "text",
  "last_name": "text",
  "phone": "text",
  "email": "[email protected]",
  "relationship": "text"
}
200Success
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "created_at": "2025-07-23T12:31:42.851Z",
  "updated_at": "2025-07-23T12:31:42.851Z",
  "first_name": "text",
  "middle_name": "text",
  "last_name": "text",
  "phone": "text",
  "email": "[email protected]",
  "relationship": "text"
}