Custom Field ID's and API Access


#1

If you create a custom field, is the unique id the name of it? Or, is there another numeric ID? Also, can you access it though an API call? I’ve tried but had no luck. Thanks.


#2

The ID is a numeric value that’s independent of the custom field’s name. There’s documentation on custom fields here.

Yes there are some ways in which it can be accessed; it really depends on the specifics of the call you’re trying to make. Can you post some code to show us what you’re doing?


#3

I’ve tried using the method in the API documentation with custom_field_name substituted with the name of the field in question:
https://app.asana.com/api/1.0/custom_fields/custom_field_name

I also tried copying the Task URL:
https://app.asana.com/0/long_number/long_number/f/custom_fields/custom_field_name

No luck with either. This is assuming the API even works like this.