API

User

The user the token belongs to.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /organization/user-info load OK

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

user, err := client.User(nil).Load(map[string]any{"id": "example_id"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(user)

Lua

Construct client as shown in the Lua setup, then call the operations:

local user, err = client:User():load({ id = "example_id" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$user = $client->User()->load(["id" => "example_id"]);

Python

Construct client as shown in the Python setup, then call the operations:

user = client.User().load({"id": "example_id"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

user = client.User.load({ "id" => "example_id" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const user = await client.User().load({ id: "example_id" })

Fields

Field Type Required Description
city string Yes City
country string No Country
email string Yes Email
fax string No Fax
firstname string No Firstname
id string Yes Id
lang string Yes Lang
lastname string No Lastname
name string Yes Name
phone string No Phone
state string No State
streetaddr string No Streetaddr
streetaddr2 string No Streetaddr2
username string Yes Username
zip string No Zip

load

GET /organization/user-info

Operation ID: getOrganizationUserInfo.

Authentication: bearer token (bearerAuth).

Responses

200: OK

application/json

Property Type Required Description
city string Yes
country string No
email string Yes
fax string No
firstname string No
id string Yes
lang string Yes
lastname string No
name string Yes
phone string No
state string No
streetaddr string No
streetaddr2 string No
username string Yes
zip string No
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes