At which Vapi URL can I programmatically request a...
# support
b
I'm trying to create an assistant using the Vapi API, but I first need to progammatically generate a JWT with my credentials. What is the URL I need to send the request to please? I've been searching the docs, swagger doc and asking the AskAI and it doesn't seem to be anywhere
p
Hey Bilbo, You can create an assistant using this endpoint here: The request will look something like this: curl -X POST \\ -H "Authorization: Bearer <token>" \\ -H "Content-Type: application/json" \\ -d '{}'
b
Thanks I was asking about generating a JWT to authenticate the request, though. But I think I've realised you can do that outside of Vapi! Cheers though
2 Views