Get a Persona import job with per-token results
curl --request GET \
--url https://api.platform.dakota.xyz/customers/persona-import-jobs/{job_id} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.platform.dakota.xyz/customers/persona-import-jobs/{job_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.platform.dakota.xyz/customers/persona-import-jobs/{job_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.platform.dakota.xyz/customers/persona-import-jobs/{job_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"job_id": "pij_2b8XyZAbCdEfGhIjKlMnOpQrStu",
"status": "running",
"total": 2,
"counts": {
"succeeded": 1,
"redeem_requested": 1
},
"started_at": 1752800000,
"results": [
{
"index": 0,
"token": "cnst_...f456",
"state": "succeeded",
"customer_id": "2b8XyZAbCdEfGhIjKlMnOpQrStu",
"application_id": "2b8XyZAbCdEfGhIjKlMnOpQrStv"
},
{
"index": 1,
"token": "cnst_...l012",
"state": "redeem_requested"
}
],
"has_more_results": false
}{
"type": "https://docs.dakota.xyz/api-reference/errors#not-found",
"title": "Customer Not Found",
"status": 404,
"detail": "Customer cst_2abc123 was not found in your organization.",
"instance": "https://api.platform.dakota.xyz/customers/cst_2abc123",
"request_id": "req_7f3a8b2c"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#not-found",
"title": "Customer Not Found",
"status": 404,
"detail": "Customer cst_2abc123 was not found in your organization.",
"instance": "https://api.platform.dakota.xyz/customers/cst_2abc123",
"request_id": "req_7f3a8b2c"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#not-found",
"title": "Customer Not Found",
"status": 404,
"detail": "Customer cst_2abc123 was not found in your organization.",
"instance": "https://api.platform.dakota.xyz/customers/cst_2abc123",
"request_id": "req_7f3a8b2c"
}Onboarding
Get a Persona import job with per-token results
Returns the jobās live status, per-state counts, and a page of per-token results. Cheap to poll. Results render from the same durable rows the import workers write, so this view survives refreshes, deploys, and worker restarts.
GET
/
customers
/
persona-import-jobs
/
{job_id}
Get a Persona import job with per-token results
curl --request GET \
--url https://api.platform.dakota.xyz/customers/persona-import-jobs/{job_id} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.platform.dakota.xyz/customers/persona-import-jobs/{job_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.platform.dakota.xyz/customers/persona-import-jobs/{job_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.platform.dakota.xyz/customers/persona-import-jobs/{job_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"job_id": "pij_2b8XyZAbCdEfGhIjKlMnOpQrStu",
"status": "running",
"total": 2,
"counts": {
"succeeded": 1,
"redeem_requested": 1
},
"started_at": 1752800000,
"results": [
{
"index": 0,
"token": "cnst_...f456",
"state": "succeeded",
"customer_id": "2b8XyZAbCdEfGhIjKlMnOpQrStu",
"application_id": "2b8XyZAbCdEfGhIjKlMnOpQrStv"
},
{
"index": 1,
"token": "cnst_...l012",
"state": "redeem_requested"
}
],
"has_more_results": false
}{
"type": "https://docs.dakota.xyz/api-reference/errors#not-found",
"title": "Customer Not Found",
"status": 404,
"detail": "Customer cst_2abc123 was not found in your organization.",
"instance": "https://api.platform.dakota.xyz/customers/cst_2abc123",
"request_id": "req_7f3a8b2c"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#not-found",
"title": "Customer Not Found",
"status": 404,
"detail": "Customer cst_2abc123 was not found in your organization.",
"instance": "https://api.platform.dakota.xyz/customers/cst_2abc123",
"request_id": "req_7f3a8b2c"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#not-found",
"title": "Customer Not Found",
"status": 404,
"detail": "Customer cst_2abc123 was not found in your organization.",
"instance": "https://api.platform.dakota.xyz/customers/cst_2abc123",
"request_id": "req_7f3a8b2c"
}Authorizations
Path Parameters
Query Parameters
Required range:
1 <= x <= 500Row-index cursor; returns rows with a greater index
Response
Job status and results
Was this page helpful?

