Credential ID
# support
e
How can i get my credential_id for: {your_phone_number}@{your_credential_id}.sip.vapi.ai Please, that does not work: To create a custom credential for webhooks, navigate to Organization Settings in the Vapi dashboard. You'll find a Custom Credentials section where you can add and manage your credentials. And that neither: To create a custom credential for a webhook, go to your organization settings in the Vapi dashboard and look for the Custom Credentials section. Click Add Custom Credential, fill in the required fields, and save. You’ll receive a credentialId to use in your webhook config, for example: I was looking in all the dashboard , in organization setting.... NOTHING about how to get credential id... please I need help.. I m many days with that trouble
v
If you can't find the Custom Credentials section in the dashboard, you can create a credential and get your
credential_id
using the API. Here’s a sample
curl
command:
Copy code
bash
curl -X POST https://api.vapi.ai/credential \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_VAPI_PRIVATE_API_KEY" \
  -d '{
    "provider": "byo-sip-trunk",
    "name": "My SIP Trunk",
    "gateways": [{ "ip": "YOUR_SIP_DOMAIN", "inboundEnabled": false }]
  }'
The response will include your `credentialId`—use that in
{your_credential_id}
for your SIP configuration. For more details, see the [Vapi server authentication docs](https://docs.vapi.ai/server-url/server-authentication). Source: - [Server authentication](https://docs.vapi.ai/server-url/server-authentication)
e
Thanks so much
c
No worries Estefan, if you have any further queries feel free to reach out. Thanks!