BUG: Phone number is required but not available in API calls.

The phone number was required when inserting into the database,
however it was not set in the API call and thus posed problems.