auth.user.export
curl --request POST \
--url https://platform.trylath.com/auth/user/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"after": "<string>",
"limit": 200,
"includeDeleted": false
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({after: '<string>', limit: 200, includeDeleted: false})
};
fetch('https://platform.trylath.com/auth/user/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://platform.trylath.com/auth/user/export"
payload = {
"after": "<string>",
"limit": 200,
"includeDeleted": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://platform.trylath.com/auth/user/export"
payload := strings.NewReader("{\n \"after\": \"<string>\",\n \"limit\": 200,\n \"includeDeleted\": false\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))
}{
"activityId": "<string>",
"result": {
"users": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"primaryEmail": "<string>",
"primaryPhone": "<string>",
"displayName": "<string>",
"locale": "<string>",
"custom": {},
"bannedAt": "2023-11-07T05:31:56Z",
"bannedReason": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"identities": [
{
"provider": "<string>",
"subject": "<string>",
"verifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"organizations": [
"<unknown>"
]
}
],
"nextAfter": "<string>"
}
}auth.user.export
Exports users in full — identities, custom fields, ban state and organization memberships — oldest first, paging with after until it returns fewer than limit. Credentials are never included: password hashes, passkeys and authenticator secrets belong to the person and are useless anywhere else. Deleted users are excluded unless asked for.
POST
/
auth
/
user
/
export
auth.user.export
curl --request POST \
--url https://platform.trylath.com/auth/user/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"after": "<string>",
"limit": 200,
"includeDeleted": false
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({after: '<string>', limit: 200, includeDeleted: false})
};
fetch('https://platform.trylath.com/auth/user/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://platform.trylath.com/auth/user/export"
payload = {
"after": "<string>",
"limit": 200,
"includeDeleted": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://platform.trylath.com/auth/user/export"
payload := strings.NewReader("{\n \"after\": \"<string>\",\n \"limit\": 200,\n \"includeDeleted\": false\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))
}{
"activityId": "<string>",
"result": {
"users": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"primaryEmail": "<string>",
"primaryPhone": "<string>",
"displayName": "<string>",
"locale": "<string>",
"custom": {},
"bannedAt": "2023-11-07T05:31:56Z",
"bannedReason": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"identities": [
{
"provider": "<string>",
"subject": "<string>",
"verifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"organizations": [
"<unknown>"
]
}
],
"nextAfter": "<string>"
}
}Authorizations
A Lath API key: lath_live_sk… or lath_test_sk… on a server, lath_live_pk… or lath_test_pk… in a browser.
Body
application/json
Last modified on September 13, 2026
Was this page helpful?

