Profiles & drafts

Save a person/company once (opt-in, encrypted at rest; up to 20); fill any form with profile_id

post/api/v1/profiles

Request

  • Base URL: https://philforms.com
  • URL: https://philforms.com/api/v1/profiles
  • Auth: HTTP bearer

Request body

namestring required
dataobject required

Values — from a form's parameters or canonical keys (tin, last_name, address, …)

form_idstring

The form the values came from

kind'person' | 'business' | 'household'

Default person

relation'self' | 'spouse' | 'child' | 'mother' | 'father' | 'sibling' | 'employee' | 'other'

Who this person is to you (default self). Only self profiles fill a form by themselves

is_consentedboolean

Required true for another adult (spouse, parent, sibling, employee, other): they agreed to have their details kept (RA 10173)

Response

{ id, name, key, kind, relation, consented_at }

Changes

No recorded changes to this operation across all 1 revision of this API.