Approves and queues a system DM job for immediate execution. Creates audit log entry. Job will begin sending messages to target users. Requires SYSTEM_DM_SEND permission.
curl --request POST \
--url https://api.fluxer.app/v1/admin/system-dm-jobs/{job_id}/approve \
--header 'Authorization: <api-key>'{
"job_id": "<string>",
"status": "pending",
"content": "<string>",
"target_count": 1073741823,
"sent_count": 1073741823,
"failed_count": 1073741823,
"created_at": "<string>",
"excluded_guild_ids": [
"<string>"
],
"approved_at": "<string>",
"registration_start": "<string>",
"registration_end": "<string>",
"last_error": "<string>"
}Admin API key: Authorization: Admin <token>. Only valid for /admin/* endpoints.
The job id
Success
Unique identifier for the job
Current status of the system DM job
pending, approved, running, completed, failed Message content being sent
Total number of users targeted
0 <= x <= 2147483647Number of messages successfully sent
0 <= x <= 2147483647Number of messages that failed to send
0 <= x <= 2147483647ISO 8601 timestamp when the job was created
List of excluded guild IDs
100ISO 8601 timestamp when the job was approved
Registration date filter start
Registration date filter end
Last error message if the job failed
curl --request POST \
--url https://api.fluxer.app/v1/admin/system-dm-jobs/{job_id}/approve \
--header 'Authorization: <api-key>'{
"job_id": "<string>",
"status": "pending",
"content": "<string>",
"target_count": 1073741823,
"sent_count": 1073741823,
"failed_count": 1073741823,
"created_at": "<string>",
"excluded_guild_ids": [
"<string>"
],
"approved_at": "<string>",
"registration_start": "<string>",
"registration_end": "<string>",
"last_error": "<string>"
}