Organizations

The operation enforces organization ownership or platform-admin authorization and returns state suitable for membership, billing, and support workflows.

get/organizations/api-keys/{id}

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Path parameters

id, string required

The API key ID.

Response

The API key detail was successfully retrieved.

OrganizationApiKeyPreviewResponse required

Safe identifying and usage metadata for an organization API key. This model never contains the secret credential.

id, string

Unique identifier of the API key.

name, string

Human-readable name of the API key.

organization, IdNamePair

User summary connected to this automation configuration response.

enabled, boolean

Whether the API key can currently authenticate requests.

preview, string nullable

Masked value that can be used to identify the key without revealing its secret.

permissions, string[] nullable

Permission slugs granted to the API key.

issuedAt, string date-time nullable

Date and time when the API key was issued.

firstUsedAt, string date-time nullable

Date and time when the API key was first used.

lastUsedAt, string date-time nullable

Date and time when the API key was last used.

expiresAt, string date-time nullable

Date and time when the API key expires, or null when it does not expire.

totalUses, integer

Total number of tracked uses.

createdAt, string date-time

Date and time when Leadping began tracking the API key.

modifiedAt, string date-time

Date and time when the tracked API-key metadata was last modified.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status