API Authentication
All Voice Monkey v3 API requests authenticate with a single token.
Getting your token
Section titled “Getting your token”- Sign in to API Tokens in the console.
- In the Create New Token form, give it a name that identifies where it’ll be used — e.g.
Home Assistant,IFTTT,Personal scripts. - Click Create Token. The token appears in the list with show/hide and copy controls — copy the value and treat it like a password.
Passing the token
Section titled “Passing the token”You can send the token in any of three places — pick whichever suits your HTTP client.
1. As a query parameter
Section titled “1. As a query parameter”POST https://api-v3.voicemonkey.io/trigger?token=YOUR_TOKEN2. As a JSON body field
Section titled “2. As a JSON body field”{ "token": "YOUR_TOKEN", "device": "DEVICE_ID" }3. As an Authorization header
Section titled “3. As an Authorization header”Authorization: Bearer YOUR_TOKENRotating or revoking a token
Section titled “Rotating or revoking a token”If a token is compromised — or you’ve stopped using the integration it belonged to — go to API Tokens, click Delete on the row, and (if you still need it) click Create Token to mint a replacement. Requests using the deleted token start returning 401 Unauthorized immediately.
Error responses
Section titled “Error responses”| Status | error body | Meaning |
|---|---|---|
401 | UNAUTHORIZED | No token supplied (no ?token=, JSON token, or Authorization header). |
401 | INVALID_TOKEN | Token doesn’t match any active token on the account. |
401 | USER_NOT_FOUND | Token exists but isn’t associated with a known user. |
429 | THROTTLED:<until> | Per-user safety lockout in effect — back off until the timestamp in the body. |