discord-api-docs
discord-api-docs copied to clipboard
An `id` field is required when creating an onboarding prompt
Description
An id field is required when creating an onboarding prompt. The only way to create a new prompt is to pass a nonexistent snowflake in the id field.
Steps to Reproduce
curl -L -X PUT "https://discord.com/api/v10/guilds/guild_id/onboarding" -H "Content-Type: application/json" -H "Authorization: Bot Token" -d "{\"prompts\":[{\"title\":\"Title\",\"options\":[{\"title\":\"Title\",\"role_ids\":[\"role_id\"]}]}]}"
Expected Behavior
The id field is not required or is nullable
Current Behavior
The id field is required and non nullable
Screenshots/Videos
No response
Client and System Information
No response
Has this been patched? I am still encountering this issue.
Any updates on this?