cURL
curl --request POST \ --url https://forgegames.org/api/users/{userId}/spaces \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "spaceId": "<string>", "externalId": "<string>" } '
{ "id": "<string>", "teamId": "<string>", "userId": "<string>", "externalId": "<string>", "spaceId": "<string>", "createdAt": "<string>", "updatedAt": "<string>" }
Creating a user space, allows the user to receive and store item instances.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
191
Successful response