New docs? Check out the change log to learn more!
curl --request GET \
--url https://discord.com/api/v10/guilds/{guild_id}/onboarding \
--header 'Authorization: <api-key>'{
"guild_id": "<string>",
"prompts": [
{
"id": "<string>",
"title": "<string>",
"options": [
{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"emoji": {
"id": "<unknown>",
"name": "<string>",
"animated": true
},
"role_ids": [
"<string>"
],
"channel_ids": [
"<string>"
]
}
],
"single_select": true,
"required": true,
"in_onboarding": true,
"type": 123
}
],
"default_channel_ids": [
"<string>"
],
"enabled": true
}curl --request GET \
--url https://discord.com/api/v10/guilds/{guild_id}/onboarding \
--header 'Authorization: <api-key>'{
"guild_id": "<string>",
"prompts": [
{
"id": "<string>",
"title": "<string>",
"options": [
{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"emoji": {
"id": "<unknown>",
"name": "<string>",
"animated": true
},
"role_ids": [
"<string>"
],
"channel_ids": [
"<string>"
]
}
],
"single_select": true,
"required": true,
"in_onboarding": true,
"type": 123
}
],
"default_channel_ids": [
"<string>"
],
"enabled": true
}Discord bot token