Discord HTTP API (Preview)
Preview of the Discord v10 HTTP API specification. See https://discord.com/developers/docs for more details.
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Preview of the Discord v10 HTTP API specification. See https://discord.com/developers/docs for more details.
Endpoints 250
- GETget_my_application
/applications/@me - PATCHupdate_my_application
/applications/@me - GETget_application
/applications/:application_id - PATCHupdate_application
/applications/:application_id - GETapplications_get_activity_instance
/applications/:application_id/activity-instances/:instance_id - POSTupload_application_attachment
/applications/:application_id/attachment - GETlist_application_commands
/applications/:application_id/commands?with_localizations=true - PUTbulk_set_application_commands
/applications/:application_id/commands - POSTcreate_application_command
/applications/:application_id/commands - GETget_application_command
/applications/:application_id/commands/:command_id - DELETEdelete_application_command
/applications/:application_id/commands/:command_id - PATCHupdate_application_command
/applications/:application_id/commands/:command_id - GETlist_application_emojis
/applications/:application_id/emojis - POSTcreate_application_emoji
/applications/:application_id/emojis - GETget_application_emoji
/applications/:application_id/emojis/:emoji_id - DELETEdelete_application_emoji
/applications/:application_id/emojis/:emoji_id - PATCHupdate_application_emoji
/applications/:application_id/emojis/:emoji_id - GETget_entitlements
/applications/:application_id/entitlements?user_id=string&sku_ids=string&guild_id=string&before=string&after=string&limit=1&exclude_ended=true&exclude_deleted=true&only_active=true - POSTcreate_entitlement
/applications/:application_id/entitlements - GETget_entitlement
/applications/:application_id/entitlements/:entitlement_id - DELETEdelete_entitlement
/applications/:application_id/entitlements/:entitlement_id - POSTconsume_entitlement
/applications/:application_id/entitlements/:entitlement_id/consume - GETlist_guild_application_commands
/applications/:application_id/guilds/:guild_id/commands?with_localizations=true - PUTbulk_set_guild_application_commands
/applications/:application_id/guilds/:guild_id/commands - POSTcreate_guild_application_command
/applications/:application_id/guilds/:guild_id/commands - GETlist_guild_application_command_permissions
/applications/:application_id/guilds/:guild_id/commands/permissions - GETget_guild_application_command
/applications/:application_id/guilds/:guild_id/commands/:command_id - DELETEdelete_guild_application_command
/applications/:application_id/guilds/:guild_id/commands/:command_id - PATCHupdate_guild_application_command
/applications/:application_id/guilds/:guild_id/commands/:command_id - GETget_guild_application_command_permissions
/applications/:application_id/guilds/:guild_id/commands/:command_id/permissions - PUTset_guild_application_command_permissions
/applications/:application_id/guilds/:guild_id/commands/:command_id/permissions - GETget_application_role_connections_metadata
/applications/:application_id/role-connections/metadata - PUTupdate_application_role_connections_metadata
/applications/:application_id/role-connections/metadata - GETget_channel
/channels/:channel_id - DELETEdelete_channel
/channels/:channel_id - PATCHupdate_channel
/channels/:channel_id - POSTfollow_channel
/channels/:channel_id/followers - GETlist_channel_invites
/channels/:channel_id/invites - POSTcreate_channel_invite
/channels/:channel_id/invites - GETlist_messages
/channels/:channel_id/messages?around=string&before=string&after=string&limit=1 - POSTcreate_message
/channels/:channel_id/messages - POSTbulk_delete_messages
/channels/:channel_id/messages/bulk-delete - GETlist_pins
/channels/:channel_id/messages/pins?before=2024-01-01T00:00:00Z&limit=1 - PUTcreate_pin
/channels/:channel_id/messages/pins/:message_id - DELETEdelete_pin
/channels/:channel_id/messages/pins/:message_id - GETget_message
/channels/:channel_id/messages/:message_id - DELETEdelete_message
/channels/:channel_id/messages/:message_id - PATCHupdate_message
/channels/:channel_id/messages/:message_id - POSTcrosspost_message
/channels/:channel_id/messages/:message_id/crosspost - DELETEdelete_all_message_reactions
/channels/:channel_id/messages/:message_id/reactions - GETlist_message_reactions_by_emoji
/channels/:channel_id/messages/:message_id/reactions/:emoji_name?after=string&limit=1&type=0 - DELETEdelete_all_message_reactions_by_emoji
/channels/:channel_id/messages/:message_id/reactions/:emoji_name - PUTadd_my_message_reaction
/channels/:channel_id/messages/:message_id/reactions/:emoji_name/@me - DELETEdelete_my_message_reaction
/channels/:channel_id/messages/:message_id/reactions/:emoji_name/@me - DELETEdelete_user_message_reaction
/channels/:channel_id/messages/:message_id/reactions/:emoji_name/:user_id - POSTcreate_thread_from_message
/channels/:channel_id/messages/:message_id/threads - GETget_channel_member_permissions
/channels/:channel_id/permissions/member/:user_id?implicit=trueReturns the fully cascaded permissions for a member in this channel, applying their roles and the channel's permission overwrites. - GETget_channel_role_permissions
/channels/:channel_id/permissions/role/:role_id?implicit=trueReturns the permissions a role grants in this channel, applying the channel's permission overwrites on top of the role's guild-level permissions. - PUTset_channel_permission_overwrite
/channels/:channel_id/permissions/:overwrite_id - DELETEdelete_channel_permission_overwrite
/channels/:channel_id/permissions/:overwrite_id - GETdeprecated_list_pins
/channels/:channel_id/pins - PUTdeprecated_create_pin
/channels/:channel_id/pins/:message_id - DELETEdeprecated_delete_pin
/channels/:channel_id/pins/:message_id - GETget_answer_voters
/channels/:channel_id/polls/:message_id/answers/:answer_id?after=string&limit=1 - POSTpoll_expire
/channels/:channel_id/polls/:message_id/expire - PUTadd_group_dm_user
/channels/:channel_id/recipients/:user_id - DELETEdelete_group_dm_user
/channels/:channel_id/recipients/:user_id - POSTsend_soundboard_sound
/channels/:channel_id/send-soundboard-sound - GETlist_thread_members
/channels/:channel_id/thread-members?with_member=true&limit=1&after=string - PUTjoin_thread
/channels/:channel_id/thread-members/@me - DELETEleave_thread
/channels/:channel_id/thread-members/@me - GETget_thread_member
/channels/:channel_id/thread-members/:user_id?with_member=true - PUTadd_thread_member
/channels/:channel_id/thread-members/:user_id - DELETEdelete_thread_member
/channels/:channel_id/thread-members/:user_id - POSTcreate_thread
/channels/:channel_id/threads - GETlist_private_archived_threads
/channels/:channel_id/threads/archived/private?before=2024-01-01T00:00:00Z&limit=2 - GETlist_public_archived_threads
/channels/:channel_id/threads/archived/public?before=2024-01-01T00:00:00Z&limit=2 - GETthread_search
/channels/:channel_id/threads/search?name=string&slop=0&min_id=string&max_id=string&tag=string&tag_setting=match_all&archived=true&sort_by=relevance&sort_order=asc&limit=1&offset=0 - POSTtrigger_typing_indicator
/channels/:channel_id/typing - GETlist_my_private_archived_threads
/channels/:channel_id/users/@me/threads/archived/private?before=string&limit=2 - PUTupdate_voice_channel_status
/channels/:channel_id/voice-statusSet a voice channel's status. - GETlist_channel_webhooks
/channels/:channel_id/webhooks - POSTcreate_webhook
/channels/:channel_id/webhooks - GETget_gateway
/gateway - GETget_bot_gateway
/gateway/bot - GETget_guild_template
/guilds/templates/:code - GETget_guild
/guilds/:guild_id?with_counts=true - PATCHupdate_guild
/guilds/:guild_id - GETlist_guild_audit_log_entries
/guilds/:guild_id/audit-logs?user_id=string&target_id=string&action_type=1&before=string&after=string&limit=1 - GETlist_auto_moderation_rules
/guilds/:guild_id/auto-moderation/rules - POSTcreate_auto_moderation_rule
/guilds/:guild_id/auto-moderation/rules - GETget_auto_moderation_rule
/guilds/:guild_id/auto-moderation/rules/:rule_id - DELETEdelete_auto_moderation_rule
/guilds/:guild_id/auto-moderation/rules/:rule_id - PATCHupdate_auto_moderation_rule
/guilds/:guild_id/auto-moderation/rules/:rule_id - GETlist_guild_bans
/guilds/:guild_id/bans?limit=1&before=string&after=string - GETget_guild_ban
/guilds/:guild_id/bans/:user_id - PUTban_user_from_guild
/guilds/:guild_id/bans/:user_id - DELETEunban_user_from_guild
/guilds/:guild_id/bans/:user_id - POSTbulk_ban_users_from_guild
/guilds/:guild_id/bulk-ban - GETlist_guild_channels
/guilds/:guild_id/channels - POSTcreate_guild_channel
/guilds/:guild_id/channels - PATCHbulk_update_guild_channels
/guilds/:guild_id/channels - GETlist_guild_emojis
/guilds/:guild_id/emojis - POSTcreate_guild_emoji
/guilds/:guild_id/emojis - GETget_guild_emoji
/guilds/:guild_id/emojis/:emoji_id - DELETEdelete_guild_emoji
/guilds/:guild_id/emojis/:emoji_id - PATCHupdate_guild_emoji
/guilds/:guild_id/emojis/:emoji_id - PUTupdate_guild_incident_actions
/guilds/:guild_id/incident-actionsModifies the incident actions of the guild - GETlist_guild_integrations
/guilds/:guild_id/integrations - DELETEdelete_guild_integration
/guilds/:guild_id/integrations/:integration_id - GETlist_guild_invites
/guilds/:guild_id/invites - GETlist_guild_members
/guilds/:guild_id/members?limit=1&after=string - PATCHupdate_my_guild_member
/guilds/:guild_id/members/@me - GETsearch_guild_members
/guilds/:guild_id/members/search?limit=1&query=string - GETget_guild_member
/guilds/:guild_id/members/:user_id - PUTadd_guild_member
/guilds/:guild_id/members/:user_id - DELETEdelete_guild_member
/guilds/:guild_id/members/:user_id - PATCHupdate_guild_member
/guilds/:guild_id/members/:user_id - PUTadd_guild_member_role
/guilds/:guild_id/members/:user_id/roles/:role_id - DELETEdelete_guild_member_role
/guilds/:guild_id/members/:user_id/roles/:role_id - GETguild_search
/guilds/:guild_id/messages/search?sort_by=relevance&sort_order=asc&content=string&slop=0&author_id=string&author_type=user&mentions=string&mentions_role_id=string&replied_to_user_id=string&replied_to_message_id=string&mention_everyone=true&min_id=string&max_id=string&limit=1&offset=0&has=link&link_hostname=string&embed_provider=string&embed_type=image&attachment_extension=string&attachment_filename=string&pinned=true&include_nsfw=true&channel_id=string - GETget_guild_new_member_welcome
/guilds/:guild_id/new-member-welcome - GETget_guilds_onboarding
/guilds/:guild_id/onboarding - PUTput_guilds_onboarding
/guilds/:guild_id/onboarding - GETget_guild_member_permissions
/guilds/:guild_id/permissions/member/:user_idReturns the fully cascaded guild-level permissions for a member, applying all of their roles including @everyone's - GETget_guild_role_permissions
/guilds/:guild_id/permissions/role/:role_idReturns the permissions a role grants at the guild level, combining the role's own permissions with @everyone's. - GETget_guild_preview
/guilds/:guild_id/preview - GETpreview_prune_guild
/guilds/:guild_id/prune?days=1&include_roles=string - POSTprune_guild
/guilds/:guild_id/prune - GETlist_guild_voice_regions
/guilds/:guild_id/regions - GETget_guild_join_requests
/guilds/:guild_id/requests?status=STARTED&limit=1&before=string&after=stringList join requests for guild, optionally filtered by application status - PATCHaction_guild_join_request
/guilds/:guild_id/requests/:request_idApprove or reject guild join request - GETlist_guild_roles
/guilds/:guild_id/roles - POSTcreate_guild_role
/guilds/:guild_id/roles - PATCHbulk_update_guild_roles
/guilds/:guild_id/roles - GETguild_role_member_counts
/guilds/:guild_id/roles/member-counts - GETget_guild_role
/guilds/:guild_id/roles/:role_id - DELETEdelete_guild_role
/guilds/:guild_id/roles/:role_id - PATCHupdate_guild_role
/guilds/:guild_id/roles/:role_id - GETlist_guild_scheduled_events
/guilds/:guild_id/scheduled-events?with_user_count=true - POSTcreate_guild_scheduled_event
/guilds/:guild_id/scheduled-events - GETget_guild_scheduled_event
/guilds/:guild_id/scheduled-events/:guild_scheduled_event_id?with_user_count=true - DELETEdelete_guild_scheduled_event
/guilds/:guild_id/scheduled-events/:guild_scheduled_event_id - PATCHupdate_guild_scheduled_event
/guilds/:guild_id/scheduled-events/:guild_scheduled_event_id - POSTcreate_guild_scheduled_event_exception
/guilds/:guild_id/scheduled-events/:guild_scheduled_event_id/exceptionsCreate an exception to a recurring guild scheduled event - DELETEdelete_guild_scheduled_event_exception
/guilds/:guild_id/scheduled-events/:guild_scheduled_event_id/exceptions/:exception_idDelete an exception to a recurring guild scheduled event - PATCHupdate_guild_scheduled_event_exception
/guilds/:guild_id/scheduled-events/:guild_scheduled_event_id/exceptions/:exception_idModify an exception to a recurring guild scheduled event - GETlist_guild_scheduled_event_users
/guilds/:guild_id/scheduled-events/:guild_scheduled_event_id/users?with_member=true&limit=1&before=string&after=string - GETcount_guild_scheduled_event_users
/guilds/:guild_id/scheduled-events/:guild_scheduled_event_id/users/counts?guild_scheduled_event_exception_ids=stringGet the count of users subscribed to a guild scheduled event - GETlist_guild_scheduled_event_exception_users
/guilds/:guild_id/scheduled-events/:guild_scheduled_event_id/:guild_scheduled_event_exception_id/users?with_member=true&limit=1&before=string&after=stringGet a list of users subscribed to a guild scheduled event exception - GETlist_guild_soundboard_sounds
/guilds/:guild_id/soundboard-sounds - POSTcreate_guild_soundboard_sound
/guilds/:guild_id/soundboard-sounds - GETget_guild_soundboard_sound
/guilds/:guild_id/soundboard-sounds/:sound_id - DELETEdelete_guild_soundboard_sound
/guilds/:guild_id/soundboard-sounds/:sound_id - PATCHupdate_guild_soundboard_sound
/guilds/:guild_id/soundboard-sounds/:sound_id - GETlist_guild_stickers
/guilds/:guild_id/stickers - POSTcreate_guild_sticker
/guilds/:guild_id/stickers - GETget_guild_sticker
/guilds/:guild_id/stickers/:sticker_id - DELETEdelete_guild_sticker
/guilds/:guild_id/stickers/:sticker_id - PATCHupdate_guild_sticker
/guilds/:guild_id/stickers/:sticker_id - GETlist_guild_templates
/guilds/:guild_id/templates - POSTcreate_guild_template
/guilds/:guild_id/templates - PUTsync_guild_template
/guilds/:guild_id/templates/:code - DELETEdelete_guild_template
/guilds/:guild_id/templates/:code - PATCHupdate_guild_template
/guilds/:guild_id/templates/:code - GETget_active_guild_threads
/guilds/:guild_id/threads/active - GETget_guild_vanity_url
/guilds/:guild_id/vanity-url - GETget_self_voice_state
/guilds/:guild_id/voice-states/@me - PATCHupdate_self_voice_state
/guilds/:guild_id/voice-states/@me - GETget_voice_state
/guilds/:guild_id/voice-states/:user_id - PATCHupdate_voice_state
/guilds/:guild_id/voice-states/:user_id - GETget_guild_webhooks
/guilds/:guild_id/webhooks - GETget_guild_welcome_screen
/guilds/:guild_id/welcome-screen - PATCHupdate_guild_welcome_screen
/guilds/:guild_id/welcome-screen - GETget_guild_widget_settings
/guilds/:guild_id/widget - PATCHupdate_guild_widget_settings
/guilds/:guild_id/widget - GETget_guild_widget
/guilds/:guild_id/widget.json - GETget_guild_widget_png
/guilds/:guild_id/widget.png?style=shield - POSTcreate_interaction_response
/interactions/:interaction_id/:interaction_token/callback?with_response=true - GETinvite_resolve
/invites/:code?with_counts=true&guild_scheduled_event_id=string&target_channel_id=string&target_message_id=string - DELETEinvite_revoke
/invites/:code - GETget_invite_target_users
/invites/:code/target-usersGet the target users for an invite. - PUTupdate_invite_target_users
/invites/:code/target-usersUpdate the target users for an existing invite. - POSTbulk_add_invite_target_users
/invites/:code/target-users/bulk-addAdd multiple target users to an existing invite. - POSTbulk_remove_invite_target_users
/invites/:code/target-users/bulk-deleteRemove multiple target users from an existing invite. - GETget_invite_target_users_job_status
/invites/:code/target-users/job-statusGet the target users job status for an invite. - PUTadd_invite_target_user
/invites/:code/target-users/:user_idAdd a target user to an existing invite. - DELETEremove_invite_target_user
/invites/:code/target-users/:user_idRemove a target user from an existing invite. - PUTcreate_or_join_lobby
/lobbies - POSTcreate_lobby
/lobbies - GETget_lobby
/lobbies/:lobby_id - DELETEdelete_lobby
/lobbies/:lobby_idDeletes the specified lobby if it exists. It is safe to call even if the lobby is already deleted. - PATCHedit_lobby
/lobbies/:lobby_id - PATCHedit_lobby_channel_link
/lobbies/:lobby_id/channel-linking - DELETEleave_lobby
/lobbies/:lobby_id/members/@me - POSTcreate_linked_lobby_guild_invite_for_self
/lobbies/:lobby_id/members/@me/invites - POSTbulk_update_lobby_members
/lobbies/:lobby_id/members/bulk - PUTadd_lobby_member
/lobbies/:lobby_id/members/:user_id - DELETEdelete_lobby_member
/lobbies/:lobby_id/members/:user_id - POSTcreate_linked_lobby_guild_invite_for_user
/lobbies/:lobby_id/members/:user_id/invites - GETget_lobby_messages
/lobbies/:lobby_id/messages?limit=1 - POSTcreate_lobby_message
/lobbies/:lobby_id/messages - PUTupdate_lobby_message_external_moderation_metadata
/lobbies/:lobby_id/messages/:message_id/moderation-metadataUpdate the external moderation metadata for a lobby message. - GETget_my_oauth2_authorization
/oauth2/@me - GETget_my_oauth2_application
/oauth2/applications/@me - GETget_public_keys
/oauth2/keys - GETget_openid_connect_userinfo
/oauth2/userinfo - PUTupdate_user_message_external_moderation_metadata
/partner-sdk/dms/:user_id_1/:user_id_2/messages/:message_id/moderation-metadataUpdate the external moderation metadata for a user message (DM). - POSTpartner_sdk_unmerge_provisional_account
/partner-sdk/provisional-accounts/unmerge - POSTbot_partner_sdk_unmerge_provisional_account
/partner-sdk/provisional-accounts/unmerge/bot - POSTpartner_sdk_token
/partner-sdk/token - POSTbot_partner_sdk_token
/partner-sdk/token/bot - GETget_sku_subscriptions
/skus/:sku_id/subscriptions?before=string&after=string&limit=1&user_id=stringReturns all subscriptions containing the SKU, filtered by user. - GETget_sku_subscription
/skus/:sku_id/subscriptions/:subscription_id?user_id=stringGet a subscription by its ID. - GETget_soundboard_default_sounds
/soundboard-default-sounds - POSTcreate_stage_instance
/stage-instances - GETget_stage_instance
/stage-instances/:channel_id - DELETEdelete_stage_instance
/stage-instances/:channel_id - PATCHupdate_stage_instance
/stage-instances/:channel_id - GETlist_sticker_packs
/sticker-packs - GETget_sticker_pack
/sticker-packs/:pack_id - GETget_sticker
/stickers/:sticker_id - GETget_my_user
/users/@me - PATCHupdate_my_user
/users/@me - GETget_current_user_application_entitlements
/users/@me/applications/:application_id/entitlements?sku_ids=string&exclude_consumed=true - GETget_application_user_role_connection
/users/@me/applications/:application_id/role-connection - PUTupdate_application_user_role_connection
/users/@me/applications/:application_id/role-connection - DELETEdelete_application_user_role_connection
/users/@me/applications/:application_id/role-connection - POSTcreate_dm
/users/@me/channels - GETlist_my_connections
/users/@me/connections - GETlist_my_guilds
/users/@me/guilds?before=string&after=string&limit=1&shard=0&with_counts=true - DELETEleave_guild
/users/@me/guilds/:guild_id - GETget_my_guild_member
/users/@me/guilds/:guild_id/member - GETget_user
/users/:user_id - GETlist_voice_regions
/voice/regions - GETget_webhook
/webhooks/:webhook_id - DELETEdelete_webhook
/webhooks/:webhook_id - PATCHupdate_webhook
/webhooks/:webhook_id - GETget_webhook_by_token
/webhooks/:webhook_id/:webhook_token - POSTexecute_webhook
/webhooks/:webhook_id/:webhook_token?wait=true&thread_id=string&with_components=true - DELETEdelete_webhook_by_token
/webhooks/:webhook_id/:webhook_token - PATCHupdate_webhook_by_token
/webhooks/:webhook_id/:webhook_token - POSTexecute_github_compatible_webhook
/webhooks/:webhook_id/:webhook_token/github?wait=true&thread_id=string - GETget_original_webhook_message
/webhooks/:webhook_id/:webhook_token/messages/@original?thread_id=string - DELETEdelete_original_webhook_message
/webhooks/:webhook_id/:webhook_token/messages/@original?thread_id=string - PATCHupdate_original_webhook_message
/webhooks/:webhook_id/:webhook_token/messages/@original?thread_id=string&with_components=true - GETget_webhook_message
/webhooks/:webhook_id/:webhook_token/messages/:message_id?thread_id=string - DELETEdelete_webhook_message
/webhooks/:webhook_id/:webhook_token/messages/:message_id?thread_id=string - PATCHupdate_webhook_message
/webhooks/:webhook_id/:webhook_token/messages/:message_id?thread_id=string&with_components=true - POSTexecute_slack_compatible_webhook
/webhooks/:webhook_id/:webhook_token/slack?wait=true&thread_id=string
API details
- Base URL
https://discord.com/api/v10- Authentication
- An API key in the Authorization header
OAuth 2.0 (implicit, client credentials, authorization code flows) with 33 scopes - Operations
- 250 operations on 157 pathsGET 107POST 45DELETE 40PATCH 33PUT 25
- Response formats
application/jsonimage/pngtext/csv- Description format
- OpenAPI 3.1.0, API version
10 - Listed from
- Discord's published OpenAPI description (discord/discord-api-spec) (MIT)
How to test the Discord HTTP API (Preview) in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Discord HTTP API (Preview) collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “get_my_application” (GET /applications/@me), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Discord HTTP API (Preview)?
Preview of the Discord v10 HTTP API specification. See https://discord.com/developers/docs for more details. It is listed under Social and has 250 endpoints.
Who publishes the Discord HTTP API (Preview)?
It is listed from Discord's public API description (an OpenAPI document), not published by Discord on Swastik Codes. Anyone who controls discord.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Discord HTTP API (Preview)?
Requests go to https://discord.com/api/v10. Endpoint paths are added to this base URL.
How do I authenticate with the Discord HTTP API (Preview)?
It accepts 2 methods: an API key in the Authorization header; OAuth 2.0 (implicit, client credentials, authorization code flows) with 33 scopes.
How many endpoints does the Discord HTTP API (Preview) have?
250 operations on 157 paths (107 GET, 45 POST, 40 DELETE, 33 PATCH, 25 PUT).
Is forking the Discord HTTP API (Preview) free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.