Expand my Community achievements bar.

The Community Ideas review for H1 2025 is out now, see which ideas our Product team prioritized and let us know your thoughts.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

How do I get the file extension or mimetype of a document via API?

Avatar

Level 2

Hi,

I'm searching for a way to get the mimetype of a document uploaded to a task or project via the REST API.

When I'm using the endpoint "/docu/search", we're getting only the name without the file extension.

https://developer.workfront.com/documents.html#get-/docu/search

Is there a way to get the file extension or mimetype of a document via API?

Thanks

Patrick

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi Patrick,

You’ll find the file extension property one level down, on the Document Version object.

Regards,

Doug

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi Patrick,

You’ll find the file extension property one level down, on the Document Version object.

Regards,

Doug

Hi Doug,

Thanks for the information!

‚ Regards,

Patrick