Determine URL field type using API

AKumawat83
Member

I was building an app for hubspot that needs to sometimes uderstand filed type.
Is it possible to determine via the API whether a field type is URL or just regular single-line text? I'm using the endpoint `/crm/v3/properties/company/test_url`, but both URL fields and regular text fields return the same response.

 
{
"updatedAt": "2025-11-14T12:25:36.408Z",
"createdAt": "2025-11-13T13:03:56.653Z",
"name": "test_url",
"label": "test-url",
"type": "string",
"fieldType": "text",
"description": "",
"groupName": "companyinformation",
"options": [],
"createdUserId": "46731724",
"updatedUserId": "46731724",
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"archived": false,
"hasUniqueValue": false,
"hidden": false,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": false,
"readOnlyValue": false
},
"formField": false,
"dataSensitivity": "non_sensitive"
}
0 Upvotes
1 Reply 1
evaldas
Recognized Expert | Platinum Partner
Recognized Expert | Platinum Partner

Hi @AKumawat83,

 

Confirming I am seeing the same thing when trying to view details of a property via API - the fieldType is "Text" when in the UI it is set as "URL".

 

The documentation does not show "URL" as one of the fieldType options that would be returned, so there probably isn't an option to distinguish between regular text properties and URL properties at this time.

 

evaldas_0-1763133040172.png

 

The only thing I could suggest now is to provide your use case in the HubSpot developer feedback form:

 

https://developers.hubspot.com/feedback 

 

✔️ Did this post help answer your query? Help the community by marking it as a solution.