Skip to main content
GET
/
organizations
/
v2
/
rs
/
my
Get My Organization
curl --request GET \
  --url https://z52mnqg347.execute-api.eu-west-3.amazonaws.com/main/organizations/v2/rs/my \
  --header 'Authorization: Bearer <token>' \
  --header 'x-session-token: <x-session-token>'
{
  "data": {
    "id": 1,
    "name": "Organization Name",
    "uploadSizeUsed": 0,
    "uploadSizeLimit": 5120,
    "language": 1,
    "timezone": "Europe/Paris",
    "createdAt": "2024-12-01T12:34:56.000Z",
    "presignedUrl": "https://example.com/presigned-url",
    "updatableFields": {
      "name": true,
      "language": true,
      "timezone": true
    },
    "actions": {
      "canBeUpdated": true,
      "canBeDeleted": true
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-session-token
string
required

Session token used for authenticating the request.

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"

Query Parameters

extend
enum<string>[]

Extend options:

  • "logo": Add the presigned URL for the Organization logo

  • "updatable-fields": Get information about the field that can be updated

  • "actions-info": Give information about actions that can be done on the organization

Available options:
logo,
updatable-fields,
actions-info

Response

200 - application/json

Get the organization information

data
object
required