Log In

Add a Contact to a Participant

post/public/v1/participants/{participant}/contacts

Links a contact from the directory to the participant with a relationship. A contact can hold more than one relationship with the same participant, but not the same one twice, archived or not, which answers 409; list with filter[relationship_status]=archived to find an archived one to unarchive. Emergency Contact and Primary Contact relationships are always starred.

  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • participantstringrequired

    The participant UUID

Body

application/json
  • contactobjectrequired
    ▶Show 1 child attributes
    • idstringrequired
  • relationshipstringrequiredmax length 255
  • consentboolean | null
  • detailsstring | nullmax length 1000
  • visible_to_support_workersboolean

Response

201application/json

ParticipantContactResource

  • dataobjectrequired
    ▶Show 8 child attributes
    • idstringrequired
      Example:p1c2o3n4-t5a6-47c8-9t0r-1e2l3a4t5i6o
    • contactobjectrequired
      ▶Show 14 child attributes
      • idstringrequired
        Example:c1o2n3t4-a5c6-47t8-9b0c-1d2e3f4a5b6c
      • full_namestringrequired
        Example:Jane Doe
      • first_namestring | nullrequired
        Example:John
      • last_namestring | nullrequired
        Example:Doe
      • dobstring | nullrequired
        Example:1985-03-22
      • emailstring | nullrequired
        Example:jane.doe@example.com
      • phonestring | nullrequired
        Example:02 9876 5432
      • mobilestring | nullrequired
        Example:0412 345 678
      • genderenum<string> | nullrequired
        Available options:femalemalenon_binaryotherprefer_not_to_say
      • occupationstring | nullrequired
        Example:Support Coordinator
      • descriptionstring | nullrequired
        Example:Primary point of contact for scheduling
      • archived_atstring | nullrequired
        Example:2025-01-01T00:00:00+00:00
      • preferred_contact_methodenum<string> | nullrequired
        Available options:emailmobilephone
      • created_atstringrequired
        Example:2024-01-15T10:30:00+00:00
    • relationshipstring | nullrequired
      Example:Mother
    • starredbooleanrequired
      Example:true
    • consentboolean | nullrequired
      Example:true
    • detailsstring | nullrequired
      Example:Only contact during business hours
    • visible_to_support_workersbooleanrequired
      Example:false
    • archived_atstring | nullrequired
      Example:2026-03-02T09:30:00+11:00
  • 401Unauthenticated
  • 403Authorization error
  • 404Not found
  • 409An error
  • 422Validation error