To use the API, you need to create an access token in your Creative Machine account.
This can be done on the page: https://app.creativemachine.co/account/api
Click generate new token.
You can create multiple tokens, for example for different services. Also, tokens can be refreshed or deleted.
Creative Machine expects the token to be included in all API requests to the server in a header that looks like the following:
Authorization: Bearer <ACCESS_TOKEN>