# Exchange Code **POST /plugins/{pluginId}/entities/{entityId}/exchange-code** Your plugin will receive a code from the parent window through the postMessage API. You can use this code to exchange for an access token for a specific entity. ## Servers - https://tadatodo.com/api: https://tadatodo.com/api () ## Authentication methods - Api plugin auth ## Parameters ### Body: (object) - **code** (string) The code to be exchanged for a user token ## Responses ### 200 #### Body: (object) - **userToken** (string) [Powered by Bump.sh](https://bump.sh)