POST
/models
curl \
--request POST 'https://*.syngency.com/admin/api/models?first_name=string&last_name=string&gender_id=42&office_id=42&model_division_type_id=42&email=string'
Response examples (201)
{
"id": 102879,
"url": "/portfolios/amy-smith",
"name": "Amy Smith",
"email": "amysmith@gmail.com",
"phone": "212-555-7843",
"token": "12c879cdab3412bc2f78add06eba3200",
"gender": "female",
"last_name": "Smith",
"created_at": "2017-06-20 06:23:21",
"first_name": "Amy",
"is_in_town": 0,
"updated_at": "2017-06-21 04:36:37",
"external_id": "4548fa9e-7c95-4a6b-9a75-fc52d4dab25d",
"display_name": "Amy Smith",
"headshot_url": "//cdn.syngency.com/3/models/102879/headshots/3010.jpg?8271",
"is_published": 1,
"is_traveling": 1,
"date_of_birth": "1992-06-02",
"is_terminated": 0,
"current_status": "Available for direct bookings only",
"current_location": "Paris"
}
Response examples (201)
[
[
[]
]
]
Response examples (500)
{
"code": 42,
"message": "string"
}