> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spirii.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get tenant profile

> Returns your organization's profile on Spirii — the top-level account that holds your roaming identities and your sharing preferences. You don't pass an ID Spirii recognizes you from your API credentials and always returns your own profile. It's a natural first call when you start integrating, both to confirm your access works and to see how your account is set up.



## OpenAPI

````yaml /openapi/emsp-tenant/openapi.yaml get /emsp/v1/tenant/profile
openapi: 3.0.0
info:
  title: Spirii EMSP - Tenant Management API
  description: 'Manages the EMSP tenant aggregate: tenant profile, EMP-Identities.'
  version: v1
  contact: {}
servers:
  - url: https://api.spirii.com
    description: Production
security: []
tags:
  - name: Tenant
    description: Tenant profile and published-network priority order
  - name: EMP Identity
    description: Register and manage a tenant’s EMP identities
paths:
  /emsp/v1/tenant/profile:
    get:
      tags:
        - Tenant
      summary: Get tenant profile
      description: >-
        Returns your organization's profile on Spirii — the top-level account
        that holds your roaming identities and your sharing preferences. You
        don't pass an ID Spirii recognizes you from your API credentials and
        always returns your own profile. It's a natural first call when you
        start integrating, both to confirm your access works and to see how your
        account is set up.
      operationId: tenant_get_profile
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantProfileDto'
components:
  schemas:
    TenantProfileDto:
      type: object
      properties:
        tenant_id:
          type: string
          format: uuid
          description: >-
            Your organization's unique ID on Spirii. It never changes and can't
            be edited
        display_name:
          type: string
          minLength: 1
          maxLength: 255
          description: >-
            Your organization's chosen name as an e-mobility provider — free
            text you set yourself (up to 255 characters).
        emp_identities:
          description: >-
            The roaming identities registered to your organization. Each
            identity's own fields are explained under List EMP identities.
          type: array
          items:
            $ref: '#/components/schemas/EmpIdentityDto'
        can_publish_base_network:
          type: boolean
          default: false
          description: >-
            Whether your organization is allowed to make its charger network
            visible to other providers across Spirii. Spirii decides this; you
            can't change it. Capability flag set by Spirii admin via PATCH
            /admin/tenants/{tenant_id}
        published_network_priority_order:
          default: []
          description: >-
            Your preferred ranking of other providers' published networks, used
            to break the tie when a charger can be reached through more than
            one. An empty list means Spirii picks the order for you.
          type: array
          items:
            type: string
            format: uuid
        created_at:
          type: string
          format: date-time
          description: When your organization's profile was created.
        updated_at:
          type: string
          format: date-time
          description: When the profile was last changed.
      required:
        - tenant_id
        - display_name
        - emp_identities
        - can_publish_base_network
        - created_at
    EmpIdentityDto:
      type: object
      properties:
        emp_identity_id:
          type: string
          format: uuid
          description: Platform-assigned stable identifier
        country_code:
          type: string
          pattern: ^[A-Z]{2}$
          example: DK
          description: ISO 3166-1 alpha-2 country code
        party_id:
          type: string
          pattern: ^[A-Z0-9]{3}$
          example: SPR
          description: OCPI party_id (3-character code)
        protocol:
          type: array
          items:
            type: string
            enum:
              - OCPI
              - OICP
        label:
          type: string
          nullable: true
          maxLength: 255
          description: Optional human-readable label
        contact_email:
          type: string
          format: email
        contact_phone:
          type: string
          nullable: true
          maxLength: 20
        default_network_access:
          type: boolean
          default: true
          description: >-
            Whether this identity grants visibility into all Published Base
            Networks
        status:
          type: string
          enum:
            - ACTIVE
            - SUSPENDED
        created_at:
          type: string
          format: date-time
      required:
        - emp_identity_id
        - country_code
        - party_id
        - status
        - created_at

````