Authorizations
Query Parameters
Number of items to return per page
Required range:
x >= 1Page number to return (starts at 1)
Required range:
x >= 1Response
200 - application/vnd.api+json
Success
package main
import(
"context"
"os"
latitudeshgosdk "github.com/latitudesh/latitudesh-go-sdk"
"log"
)
func main() {
ctx := context.Background()
s := latitudeshgosdk.New(
latitudeshgosdk.WithSecurity(os.Getenv("LATITUDESH_BEARER")),
)
res, err := s.Teams.Members.GetTeamMembers(ctx, latitudeshgosdk.Pointer[int64](20), latitudeshgosdk.Pointer[int64](1))
if err != nil {
log.Fatal(err)
}
if res.TeamMembers != nil {
for {
// handle items
res, err = res.Next()
if err != nil {
// handle error
}
if res == nil {
break
}
}
}
}{
"data": [
{
"id": "user_7WJG0pvKZbHlX8reeJ2LTEo8mN7",
"type": "users",
"attributes": {
"first_name": "Jefferson",
"last_name": "Fadel",
"email": "[email protected]",
"mfa_enabled": false,
"created_at": "2025-05-22T00:00:00+00:00",
"updated_at": "2026-05-20T00:00:00+00:00",
"last_login_at": null,
"role": {
"id": "role_wAE1EEyB3VuRvZWkAK0ZczbVyjG",
"name": "owner"
}
}
},
{
"id": "user_LXYNaEJnK1fL3YX1k63luNAQw4y",
"type": "users",
"attributes": {
"first_name": "Marcell",
"last_name": "Hayes",
"email": "[email protected]",
"mfa_enabled": false,
"created_at": "2025-04-06T00:00:00+00:00",
"updated_at": "2026-06-10T00:00:00+00:00",
"last_login_at": null,
"role": {
"id": "role_wAE1EEyB3VuRvZWkAK0ZczbVyjG",
"name": "owner"
}
}
},
{
"id": "user_LVjjma4pvmULB9A0vK9Zf6kwb3L",
"type": "users",
"attributes": {
"first_name": "Ted",
"last_name": "Vandervort",
"email": "[email protected]",
"mfa_enabled": false,
"created_at": "2024-11-27T00:00:00+00:00",
"updated_at": "2026-07-15T00:00:00+00:00",
"last_login_at": "2025-10-11T00:00:00+00:00",
"role": {
"id": "role_RYXj8v8JxaUAP3P20g5gFR80PgmZ",
"name": "billing"
}
}
}
],
"meta": {}
}package main
import(
"context"
"os"
latitudeshgosdk "github.com/latitudesh/latitudesh-go-sdk"
"log"
)
func main() {
ctx := context.Background()
s := latitudeshgosdk.New(
latitudeshgosdk.WithSecurity(os.Getenv("LATITUDESH_BEARER")),
)
res, err := s.Teams.Members.GetTeamMembers(ctx, latitudeshgosdk.Pointer[int64](20), latitudeshgosdk.Pointer[int64](1))
if err != nil {
log.Fatal(err)
}
if res.TeamMembers != nil {
for {
// handle items
res, err = res.Next()
if err != nil {
// handle error
}
if res == nil {
break
}
}
}
}{
"data": [
{
"id": "user_7WJG0pvKZbHlX8reeJ2LTEo8mN7",
"type": "users",
"attributes": {
"first_name": "Jefferson",
"last_name": "Fadel",
"email": "[email protected]",
"mfa_enabled": false,
"created_at": "2025-05-22T00:00:00+00:00",
"updated_at": "2026-05-20T00:00:00+00:00",
"last_login_at": null,
"role": {
"id": "role_wAE1EEyB3VuRvZWkAK0ZczbVyjG",
"name": "owner"
}
}
},
{
"id": "user_LXYNaEJnK1fL3YX1k63luNAQw4y",
"type": "users",
"attributes": {
"first_name": "Marcell",
"last_name": "Hayes",
"email": "[email protected]",
"mfa_enabled": false,
"created_at": "2025-04-06T00:00:00+00:00",
"updated_at": "2026-06-10T00:00:00+00:00",
"last_login_at": null,
"role": {
"id": "role_wAE1EEyB3VuRvZWkAK0ZczbVyjG",
"name": "owner"
}
}
},
{
"id": "user_LVjjma4pvmULB9A0vK9Zf6kwb3L",
"type": "users",
"attributes": {
"first_name": "Ted",
"last_name": "Vandervort",
"email": "[email protected]",
"mfa_enabled": false,
"created_at": "2024-11-27T00:00:00+00:00",
"updated_at": "2026-07-15T00:00:00+00:00",
"last_login_at": "2025-10-11T00:00:00+00:00",
"role": {
"id": "role_RYXj8v8JxaUAP3P20g5gFR80PgmZ",
"name": "billing"
}
}
}
],
"meta": {}
}Number of items to return per page
x >= 1Page number to return (starts at 1)
x >= 1Success
Show child attributes
Was this page helpful?