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
Praveen
03/20/2025, 12:20 AM
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
Bilbo
03/20/2025, 6:09 AM
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