Emeka
04/08/2025, 2:40 PMVapi Support Bot
04/08/2025, 2:42 PMparsedTextUrl
property not appearing in the upload file API response despite being in the schema. Unfortunately, I couldn't find specific information explaining why this discrepancy exists. However, I can help you with how to retrieve the parsedTextUrl
for your non-txt files.
Based on the documentation I found, while the parsedTextUrl
isn't returned in the initial upload response, you can retrieve it using the get file endpoint. Here's how:
1. First, upload your file using the Upload File API (POST https://api.vapi.ai/file
)
2. From the upload response, note the id
of your uploaded file
3. Then use the Get File API to retrieve the complete file information including the `parsedTextUrl`:
- Method: GET
- Endpoint: https://api.vapi.ai/file/:id
- Path parameters: Replace :id
with your file's ID
- Headers: Include Auth: Bearer <your_token>
According to the [API documentation](https://docs.vapi.ai/api-reference/files/get), this get file endpoint will return the complete file information including the parsedTextUrl
property that you need.
If you're still experiencing issues, some troubleshooting steps include:
- Verifying your API authentication details
- Checking network activity and API responses using browser developer tools
- Ensuring the content type is set correctly
- Reviewing logs for any error messages
Is there anything else you'd like to know about retrieving the parsedTextUrl
or using the Vapi file APIs?
Sources:
- [API documentation](https://docs.vapi.ai/api-reference/files/get)
- [Upload File API](https://docs.vapi.ai/api-reference/files/create)Kings_big💫
04/08/2025, 4:32 PMEmeka
04/08/2025, 4:38 PMShubham Bajaj
04/08/2025, 7:47 PM