Skip to main content
GET
/
invites
/
{code}
/
target-users
/
job-status
cURL
curl --request GET \
  --url https://discord.com/api/v10/invites/{code}/target-users/job-status \
  --header 'Authorization: <api-key>'
{
  "status": 123,
  "total_users": 2147483647,
  "processed_users": 2147483647,
  "created_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "error_message": "<string>"
}

Authorizations

Authorization
string
header
required

Discord bot token

Path Parameters

code
string
required
Maximum string length: 152133

Response

200 response for get_invite_target_users_job_status

status
required

The status of the job processing the target users.

total_users
integer<int64>
required

The total number of users in the provided list.

Required range: 0 <= x <= 4294967295
processed_users
integer<int64>
required

The number of users processed so far.

Required range: 0 <= x <= 4294967295
created_at
string<date-time> | null
required

The timestamp when the job was created.

completed_at
string<date-time> | null
required

The timestamp when the job was successfully completed.

error_message
string | null
required

The error message if the job failed.