Pending events

GET /account/events/pending

Obtain the number of events in your account that require your attention. For example: The number of models that have requested accessing your castings but you haven't yet approved or declined.

Headers

Name
Value
Required

X-Key

Your API Key

X-SessionId

Your session id

X-UserId

The logged user id to get pending events from

Example

curl \
    -G https://litmind.com/api/v1/account/events/pending \
    -H 'X-Key: bfRCu5GAEP9eMZ7fS6yvPwGxB9Nu7FzUfdnasrCkKkHAyCBZ' \
    -H 'X-SessionId: 313599f212429860887ef23ea326cc863a9186eb1a43a8f1739a1815ebe2a588' \
    -H 'X-UserId: 138829'

Response

{
    "entity": "PendingEvents",
    "pendingReviews": 0,
    "pendingSubmissions": 0,
    "pendingCastingCandidates": 6,
    "pendingCollaborationCandidates": 0,
    "pendingGroupMembers": 0,
    "pendingProjectQuotations": 0,
    "pendingNotifications": 3,
    "pendingMessengerMessages": 5
}
Name
Value

pendingReviews

The number of reviews written about you that are waiting for your approval

pendingSubmissions

The number of publication submissions you've received that are waiting for your approval

pendingCastingCandidates

The number of candidates in your castings that are waiting for your approval

pendingCollaborationCandidates

The number of candidates in your collaborations that are waiting for your approval

pendingGroupMembers

The number of members in your groups that are waiting for your access approval

pendingProjectQuotations

The number of photographers that are waiting for your approval to enter your projects and send their quotations

pendingNotifications

The number of unread notifications; e.g., comments your received, or places where you've been mentioned

pendingMessengerMessages

The number of unread messages in your messenger

Last updated