curl --request POST \
--url https://api.askparable.com/api/ingest-tokens/{id}/rotate \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.askparable.com/api/ingest-tokens/{id}/rotate"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.askparable.com/api/ingest-tokens/{id}/rotate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.askparable.com/api/ingest-tokens/{id}/rotate"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"endpointUrl": "<string>",
"ingestToken": {
"createdAt": "<string>",
"id": "<string>",
"prefix": "<string>",
"tenantConnectorTapId": "<string>",
"updatedAt": "<string>",
"expiresAt": "<string>",
"lastUsedAt": "<string>",
"revokedAt": "<string>",
"rotatedAt": "<string>"
},
"token": "<string>"
},
"meta": {
"requestId": "<string>",
"totalCount": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"next": "<string>",
"prev": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}rotateIngestToken
POST /api/ingest-tokens//rotate Rotate an ingest token: mints a replacement for the same tap and puts the old token into a rotation grace window (expiresAt set server-side) so senders with the URL registered in a vendor console have time to update. Returns the new token’s plaintext exactly once. Returns 404 if the token does not exist or belongs to a different workspace.
curl --request POST \
--url https://api.askparable.com/api/ingest-tokens/{id}/rotate \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.askparable.com/api/ingest-tokens/{id}/rotate"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.askparable.com/api/ingest-tokens/{id}/rotate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.askparable.com/api/ingest-tokens/{id}/rotate"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"endpointUrl": "<string>",
"ingestToken": {
"createdAt": "<string>",
"id": "<string>",
"prefix": "<string>",
"tenantConnectorTapId": "<string>",
"updatedAt": "<string>",
"expiresAt": "<string>",
"lastUsedAt": "<string>",
"revokedAt": "<string>",
"rotatedAt": "<string>"
},
"token": "<string>"
},
"meta": {
"requestId": "<string>",
"totalCount": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"next": "<string>",
"prev": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Workspace slug. Overrides subdomain-based workspace resolution when provided.
"acme"
Optional request correlation ID echoed back in the response.
"550e8400-e29b-41d4-a716-446655440000"
Path Parameters
id parameter UUID v4 with automatic base62 encoding for client-facing APIs
Response
Successful response
Result of mintIngestToken and rotateIngestToken. The plaintext token is
returned exactly once and is irrecoverable afterwards — clients must surface
it (and the endpointUrl embedding it) to the user immediately and never
re-fetch.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes