Create a Space
create_space, in Changes: A connection or key that may make changes. None spends credits; prepare_* and stage tools (research, brainstorm, write_script, review, generate_clip, voice, storyboard) prepare paid work for confirm_spend.
POST
Create a Space: the brand, creator or client a set of videos is made for. Pass a new requestKey for each Space; repeating one returns the Space it made.
apiKeyheader
AuthorizationBearer <token>An API key (prb_…) from Settings → Connections.
application/json- body
name*stringLength
1 <= length <= 120color?stringValue in
"sky""mint""amber""rose""violet""ember"requestKey*stringMatch
^[\w.:-]+$Length
8 <= length <= 64The tool's answer.
application/json- response
id*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidname*stringslug*stringcurl -X POST 'https://studio.probably.co/api/v1/tools/create_space' \ -H "Authorization: Bearer $PROBABLY_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "requestKey": "stringst"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string"}