Invitations

Decline an organization invitation.

Changed on

Decline a pending Leadping organization invitation by ID while signed in as the recipient. Use this endpoint to turn down the invitation to join.

post/invitations/{id}/decline

Request

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

Path parameters

id, string required

The invitation identifier.

Response

The invitation after the decline is recorded.

OrganizationInvitationResponse required

Describes organization invitation data returned by Leadping.

safeMessage, string nullable

Safe message for this organization invitation.

id, string

Unique Leadping identifier for this organization invitation.

organization, IdNamePair

User summary connected to this automation configuration response.

email, string email

The email address associated with this organization invitation.

role, 'Account Admin' | 'Owner' | 'Admin' | 'Agent'

Identifies an organization member's access level and permission scope within Leadping.

status, 'Declined' | 'Awaiting confirmation' | 'Pending' | 'Accepted' | 'Expired' | 'Revoked' | 'Resent' | 'Failed to send'

Describes the lifecycle of an organization membership invitation from issuance through acceptance, expiration, or revocation.

createdAt, string date-time

UTC timestamp for created at on this organization invitation.

expiresAt, string date-time

UTC timestamp for expires at on this organization invitation.

sentAt, string date-time nullable

UTC timestamp for sent at on this organization invitation.

resentAt, string date-time nullable

UTC timestamp for resent at on this organization invitation.

acceptedAt, string date-time nullable

UTC timestamp for accepted at on this organization invitation.

revokedAt, string date-time nullable

UTC timestamp for revoked at on this organization invitation.

sendFailureReason, string nullable

The human-readable send failure reason explaining this organization invitation.

licenseBillingStatus, string nullable

The billing status for the paid license created by this invitation.

licenseQuantity, integer nullable

The quantity on the shared organization user license subscription item after this change.

licenseRenewalDate, string date-time nullable

The renewal date used for proration of this license.

licenseActivatedAt, string date-time nullable

The date and time this invitation's paid license was created.

licenseReleasedAt, string date-time nullable

The date and time this invitation's paid license was released.

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    1 more change in this revision