Partner Intake

Create intake

Create an intake form for a user linked to the partner.

post/api/v1/partners/{partner_id}/users/{user_id}/intake

Request

  • Base URL: https://app.bodyspec.com
  • URL: https://app.bodyspec.com/api/v1/partners/{partner_id}/users/{user_id}/intake
  • Auth: one of:
    • HTTPBasic (a scheme the document does not define)
    • HTTP basic

Path parameters

partner_idstring required

Partner ID

user_idstring required

User ID

Request body

Example request

{
  "disqualifiers": {
    "neg_q1_pregnant": false,
    "neg_q2_barium_xray": false,
    "neg_q3_nuclear": false
  },
  "qualifiers": {
    "qual_q1_weight": true,
    "qual_q2_body_fat": false,
    "qual_q3_athlete": false,
    "qual_q4_heart_disease": false,
    "qual_q5_high_blood_pressure": false,
    "qual_q6_injuries": false,
    "qual_q7_research_study": false
  },
  "user": {
    "birth_date": "1990-05-15",
    "email": "jane@example.com",
    "ethnicity": "White",
    "first_name": "Jane",
    "gender": "Female",
    "height_inches": 65,
    "last_name": "Smith",
    "phone_number": "+14155551234",
    "weight_pounds": 140
  }
}

Response

Successful response

intake_idstring required

Created intake ID

Changes

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