Can’t create “Phone number” custom property via API.
My request:
{
"label": "custom_phone22",
"name": "custom_phone",
"entity": "contacts",
"groupName": "contactinformation",
"formField": true,
"type": "string",
"fieldType": "phonenumber"
}
Response from HubSpot API:
{
"status": "error",
"message": "Invalid input JSON on line 1, column 147: Enum type must be one of: [calculation_equation, checkbox, number, textarea, booleancheckbox, file, text, date, radio, select]",
"correlationId": "7f908a30-dc7a-4f51-bd69-544ef052702a",
"category": "VALIDATION_ERROR"
}
The same for html (Rich text).
Hey, @Sachavskyi
I have this post marked for more research. I’ll follow up here. I believe there was another recent similar post that might be helpful to add to our case.
Talk soon! —Jaycee
Hi @Jaycee_Lewis 
I’ve just encountered this same issue on both single and batch create Contact property endpoints. Is there any update on if/when this might be addressed? Thanks 
Hey, @zach_threadint
I took this to the team that owns the CRM endpoints. I’ll post here when I get a reply.
Talk soon! — Jaycee
This issue is still happening. The workaround is creating the phonenumber properties manually.
Upvote and comment for visibility, since this seems to be a bug.
Edit: the property object was read from an existing property in HubSpot itself, so it is not a matter of configuration. It is really an issue.
any news we have the same problem