Discussions
Registering webhook issue, "API key is missing."
about 2 months ago by Jackson S
Sending POST req to https://api.tor.app/integrations/register-webhook and no matter what I do, I get the same 400 Bad Request response with body "API key is missing." The API key is included in the Authorization header, and it's formatted correctly "Bearer API_KEY". The same API key works for other endpoints consistently, so the key is correct.
Here's my request body:
{
"url": "https://xxxxxxxxxxxxxx.ngrok-free.app/exportTrans",
"export_format": "txt",
"include_timestamps": "true",
"include_speaker_names": "true",
"merge_same_speaker_segments": "false",
"single_paragraph": "false",
"paragraph_size": "2",
"folder_id": "xxxxxxxxxxxxxx"
}
Hid my webhook url and folder ID for obvious reasons.
Is this a bug? Or am I doing something wrong here.