Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/get-started/authentication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,15 @@ curl -L -X POST "https://mp.speechmatics.com/v1/api_keys?type=batch" \
-d '{"ttl": 60, "client_ref": "USER123"}'
```

The response JSON looks like this:

```json
{
"apikey_id": null,
"key_value": "eyJhbG..."
}
```

To authorize a request using a temporary key, simply use it in place of the API key in the Authorization header.

For example, if you created a temporary key associated with a given `client_ref` you can retrieve those jobs as follows:
Expand Down