Get My Application
GetMyApplication retrieves the application the credentials belong to.
It calls GET https://discord.com/api/v10/applications/@me.
The activity has 4 tabs: Configuration, Auth, Input, and Output.
Configuration
| Field | Required | Description |
|---|---|---|
| Name | Optional | Name of the step, should be unique within this workflow. |
| Description | Optional | Describe the purpose or function of this step. |
| Select Auth Context | Optional | Authorization context used to authenticate the request. |
Auth
| Field | Required | Description |
|---|---|---|
| Auth Type | Optional | Select the authentication method for the request. Options: No Auth, Basic, API Key, OAuth 2. |
| Auth Resource | Optional | OAuth resource containing credentials. |
| User Name | Optional | Username for Basic Authentication. |
| Password | Optional | Password for Basic Authentication. |
| Key | Optional | API Key name for API Key Authentication. |
| Value | Optional | API Key value for API Key Authentication. |
Input
This activity is built on the REST Client, so the Input tab is the generic HTTP request rather than a Discord-shaped payload.
| Field | Required | Data Type | Description |
|---|---|---|---|
| Inputs | Optional | Object | The HTTP request. |
Output
The activity returns an httpResponse object.
| Field | Data Type | Description |
|---|---|---|
| status.code | Integer | Numeric HTTP status code. |
| status.message | String | Short message associated with the HTTP status. |
| headers | Object | HTTP response headers. |
| body | Object | Parsed body of the response. |
The response body carries 35 fields. The principal ones are:
| Field | Data Type | Description |
|---|---|---|
| id | String | — |
| name | String | — |
| icon | String | — |
| description | String | — |
| type | Object | — |
| cover_image | String | — |
| primary_sku_id | String | — |
| bot | Object | — |
| slug | String | — |
| guild_id | String | — |
| rpc_origins | Array | — |
| bot_public | Boolean | — |
| bot_require_code_grant | Boolean | — |
| terms_of_service_url | String | — |
| privacy_policy_url | String | — |
| custom_install_url | String | — |
The remaining fields are the rest of the object returned by this endpoint, as declared in the activity's output schema.