ANIMATEK
04/03/2025, 11:21 AMhttps://api.vapi.ai/credential
I receive the answer that it has been created and no problem. But in my PeopleFone dashboard I do not see anything connected. If I take for example the Softphone app from the iOS AppStore and give only URL + Username + Password, I can see that the app is registered with my server. Does VAPI connect to the Trunk after creating the credential at all? Or does that happen after the phone number has been configured? For the record, I also configured a phone number that didn't work, so I am trying to pinpoint the issue.
Another related although less important question. How do I delete a created credential with the API? I did not see that in the docs, and when I do a get
to /credential
I see old entries with some errors I made before.
Thank you very much for your help.Vapi Support Bot
04/03/2025, 11:23 AM/credential
endpoint
2. Creating a phone number and associating it with the credential using the /phone-number
endpoint
When you send an initial connection request, VAPI's authentication process requires additional steps. As noted in [this source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334238882660618250), the initial INVITE does not include credentials, and VAPI responds with a 401 Unauthorized message, requiring further authentication steps.
For your second question about deleting credentials - you can delete VAPI credentials using the /credential
endpoint with the DELETE method. According to [this information](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1317475563220504596), when a credential is no longer needed, you would use the /credential
endpoint to remove it from the system.
The full endpoint would be https://api.vapi.ai/credential/:id
where :id
is the ID of the credential you want to delete. You'll need to include the Authorization header with your API token in the format Bearer <token>
.Vapi Support Bot
04/03/2025, 11:23 AMVapi Support Bot
04/03/2025, 12:41 PMANIMATEK
04/03/2025, 1:10 PM1aae1185-8dbf-49ce-8ad3-52f27da6f0f1
- what could be the issue?
By the way the links to the sources in the post above are broken.ANIMATEK
04/03/2025, 6:36 PMKyle
04/06/2025, 11:48 AMKyle
04/06/2025, 11:54 AMANIMATEK
04/07/2025, 5:40 PMKyle
04/09/2025, 1:12 AMANIMATEK
04/10/2025, 5:21 AMKyle
04/11/2025, 12:47 AM