# Create service token (/docs/rest-api/endpoints/service-tokens/post-workspaces-by-workspace-id-service-tokens) > For the complete Prisma documentation index, see [llms.txt](https://www.prisma.io/docs/llms.txt). A markdown version of any docs page is available by appending `.md` to its URL. Creates a new service token for the given workspace. The `value` field is returned exactly once in this response and is never stored — copy it immediately. Location: REST API > Endpoints > Service Tokens > Create service token ## Related pages - [`Delete service token`](https://www.prisma.io/docs/rest-api/endpoints/service-tokens/delete-workspaces-by-workspace-id-service-tokens-by-service-token-id): Revokes the service token with the given ID by deleting it. - [`List service tokens`](https://www.prisma.io/docs/rest-api/endpoints/service-tokens/get-workspaces-by-workspace-id-service-tokens): Returns the service tokens for the given workspace, newest first.