Query parameters

  • first_name string Required

    Model's legal first name

  • last_name string Required

    Model's legal last name

  • gender_id integer(int32) Required

    ID of model's gender [1 => Male, 2 => Female]

  • office_id integer(int32) Required

    ID of office to assign model to

  • model_division_type_id integer(int32) Required

    ID of division to assign model to

  • email string Required

    Model's primary email address

  • display_name string

    Model's display name

  • mobile string

    Model's mobile number

Responses

  • 201 application/json

    A model object

  • 400

    Invalid parameters passed

  • 500 application/json

    An unexpected error occurred

    Hide response attributes Show response attributes object
    • code integer(int32) Required
    • message string Required
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"
}