# Create access token for admin given the admin credentials **POST /V1/integration/admin/token** Create access token for admin given the admin credentials. ## Servers - https://magento2.winkelstraat.mac/rest/all: https://magento2.winkelstraat.mac/rest/all () ## Parameters ### Body: (object) - **username** (string) - **password** (string) ## Responses ### 200 200 Success. #### Body: (string) string ### 400 400 Bad Request #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace ### 500 Internal Server error #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace ### default Unexpected error #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace [Powered by Bump.sh](https://bump.sh)