# Determine URL field type using API

**URL:** <https://community.hubspot.com/t/determine-url-field-type-using-api/142639>\
**Category:** APIs & Integrations\
**Tags:** developer-tools, free, professional, starter\
**Created:** [November 14, 2025, 1:07pm UTC](https://community.hubspot.com/t/determine-url-field-type-using-api/142639 "2025-11-14T13:07:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AKumawat83](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@AKumawat83](https://community.hubspot.com/u/AKumawat83)\
**Post date:** [November 14, 2025, 1:07pm UTC](https://community.hubspot.com/t/determine-url-field-type-using-api/142639/1 "2025-11-14T13:07:46Z")

</div>

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.

```lia-code-sample
{
"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"
}

```

---

<div class="post-metadata">

**Author:** ![evaldas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/evaldas/32/69160_2.png) [@evaldas](https://community.hubspot.com/u/evaldas)\
**Post date:** [November 14, 2025, 3:12pm UTC](https://community.hubspot.com/t/determine-url-field-type-using-api/142639/2 "2025-11-14T15:12:27Z")

</div>

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 Properties API does not currently expose `URL` as a distinct `fieldType`. A property configured as a URL in the HubSpot UI is returned as a string/text property, so the API alone does not provide a reliable way to distinguish it from a standard text field. Here is the documentation: [Properties API - HubSpot docs](https://developers.hubspot.com/docs/api-reference/legacy/crm/properties/guide)

![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/0/f0ea052dc212594af3dae93ef7f12d76bd51f42a.png)

If your integration needs to preserve the distinction between URL and text fields, you’ll need to track that distinction outside the current Properties API response. It’s also worth submitting the use case through HubSpot’s developer feedback channel:

> **[HubSpot Developer Feedback Form](https://developers.hubspot.com/feedback)**
>
> At HubSpot, we deeply value developer feedback and are dedicated to empowering your business to Grow Better. Help shape our platform by sharing your honest, unfiltered feedback.

_Moderator Note: this post was reviewed for relevancy and optimized for clarity on September 29, 2026. Thank you for your contributions to the HubSpot Community!_
