curl --request POST \
--url https://api.askparable.com/api/ingest-tokens \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tenantConnectorTapId": "<string>"
}
'import requests
url = "https://api.askparable.com/api/ingest-tokens"
payload = { "tenantConnectorTapId": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({tenantConnectorTapId: '<string>'})
};
fetch('https://api.askparable.com/api/ingest-tokens', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.askparable.com/api/ingest-tokens"
payload := strings.NewReader("{\n \"tenantConnectorTapId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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>"
}mintIngestToken
POST /api/ingest-tokens Mint a new ingest token for a collector TenantConnectorTap. The plaintext is returned exactly once in MintIngestTokenResult.token (with the full endpoint URL); only the SHA-256 hash is persisted. Refused with a typed error if the tap already has a live (non-revoked, non-expired) token — use rotateIngestToken instead.
curl --request POST \
--url https://api.askparable.com/api/ingest-tokens \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tenantConnectorTapId": "<string>"
}
'import requests
url = "https://api.askparable.com/api/ingest-tokens"
payload = { "tenantConnectorTapId": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({tenantConnectorTapId: '<string>'})
};
fetch('https://api.askparable.com/api/ingest-tokens', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.askparable.com/api/ingest-tokens"
payload := strings.NewReader("{\n \"tenantConnectorTapId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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"
Body
Input for minting a new ingest token. The tap must belong to the calling workspace; the service layer enforces this before minting.
The collector TenantConnectorTap this token routes to.
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