> For the complete documentation index, see [llms.txt](https://docs.thewalletcrew.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thewalletcrew.io/api-reference/advanced/actito-scripts.md).

# Actito Scripts

## Get the Actito scripts

> Returns every script slot; a slot without a script has a null \`content\`.

```json
{"openapi":"3.1.1","info":{"title":"Neostore internal API","version":"v1"},"tags":[{"name":"ActitoScripts"}],"servers":[{"url":"https://app.neostore.cloud","description":"Production Server"},{"url":"https://app-qa.neostore.cloud","description":"Staging Server"}],"security":[{"admin-bearer":["tenant.actito.settings:read"]},{"apiKey":[]}],"components":{"securitySchemes":{"admin-bearer":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.neostore.cloud/authorize?audience=https://app.neostore.cloud/api/","scopes":{}}}},"apiKey":{"type":"apiKey","name":"X-API-KEY","in":"header"}},"schemas":{"ActitoScriptsDefinition":{"required":["profileMapper"],"type":"object","properties":{"profileMapper":{"description":"`extensions.actito.profile.mapper`: completes the account filled from an Actito profile. Runs after\n            `firstName` and `lastName` are copied, with every attribute of the profile.","$ref":"#/components/schemas/ExtensionScriptSlot"}},"additionalProperties":false,"description":"The scripts the Actito integration can be customised with."},"ExtensionScriptSlot":{"required":["conflictingFileNames","endpointName","fileName"],"type":"object","properties":{"endpointName":{"type":"string","description":"The extensibility endpoint the script implements, as passed to `register(...)`, e.g.\n`extensions.comarch.couponMapper`. Fixed per slot."},"fileName":{"type":"string","description":"Name of the script file backing the slot. Returned even when the file does not exist yet."},"content":{"type":["null","string"],"description":"The script's content. Null when the tenant has no such file."},"conflictingFileNames":{"type":"array","items":{"type":"string"},"description":"Other scripts that register the same endpoint; resolve any entry here so the endpoint has a single\nscript. Empty when there is none."}},"additionalProperties":false,"description":"The state of one script slot, as every extension's scripts endpoint returns it."},"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}},"HttpValidationProblemDetails":{"type":"object","allOf":[{"$ref":"#/components/schemas/ProblemDetails"}],"properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}}}},"paths":{"/api/{tenantId}/admin/extensions/actito/scripts":{"get":{"tags":["ActitoScripts"],"summary":"Get the Actito scripts","description":"Returns every script slot; a slot without a script has a null `content`.","parameters":[{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Scripts returned.","content":{"text/plain":{"schema":{"description":"The scripts the Actito integration can be customised with.","$ref":"#/components/schemas/ActitoScriptsDefinition"}},"application/json":{"schema":{"description":"The scripts the Actito integration can be customised with.","$ref":"#/components/schemas/ActitoScriptsDefinition"}},"text/json":{"schema":{"description":"The scripts the Actito integration can be customised with.","$ref":"#/components/schemas/ActitoScriptsDefinition"}}}},"401":{"description":"The caller is not authenticated.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"403":{"description":"The caller lacks the <c>tenant.actito.settings:read</c> scope.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"429":{"description":"Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after <c>Retry-After</c>.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Sent when the limiter knows it.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}}}}}}}
```

## Set the Actito scripts

> A slot left out is untouched, \`{ "content": "…" }\` sets the script verbatim and\
> \`{ "content": null }\` removes it. An empty content in any slot refuses the whole request; nothing\
> is saved.

```json
{"openapi":"3.1.1","info":{"title":"Neostore internal API","version":"v1"},"tags":[{"name":"ActitoScripts"}],"servers":[{"url":"https://app.neostore.cloud","description":"Production Server"},{"url":"https://app-qa.neostore.cloud","description":"Staging Server"}],"security":[{"admin-bearer":["tenant.actito.settings:write"]},{"apiKey":[]}],"components":{"securitySchemes":{"admin-bearer":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.neostore.cloud/authorize?audience=https://app.neostore.cloud/api/","scopes":{}}}},"apiKey":{"type":"apiKey","name":"X-API-KEY","in":"header"}},"schemas":{"SetActitoScriptsRequest":{"type":"object","properties":{"profileMapper":{"description":"Change to Neo.Extensions.Actito.Controllers.ActitoScriptsDefinition.ProfileMapper.","$ref":"#/components/schemas/ScriptSlotUpdate"}},"additionalProperties":false,"description":"Changes to the Actito scripts. A slot left out is left untouched."},"ScriptSlotUpdate":{"type":"object","properties":{"content":{"type":["null","string"],"description":"The new script content. Null deletes the file."}},"additionalProperties":false,"description":"A change to one script slot."},"ProblemDetails":{"type":"object","properties":{"type":{"type":["null","string"]},"title":{"type":["null","string"]},"status":{"type":["null","integer"],"format":"int32"},"detail":{"type":["null","string"]},"instance":{"type":["null","string"]}},"additionalProperties":{}},"HttpValidationProblemDetails":{"type":"object","allOf":[{"$ref":"#/components/schemas/ProblemDetails"}],"properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"additionalProperties":{}}}},"paths":{"/api/{tenantId}/admin/extensions/actito/scripts":{"put":{"tags":["ActitoScripts"],"summary":"Set the Actito scripts","description":"A slot left out is untouched, `{ \"content\": \"…\" }` sets the script verbatim and\n`{ \"content\": null }` removes it. An empty content in any slot refuses the whole request; nothing\nis saved.","parameters":[{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"Changes to the Actito scripts. A slot left out is left untouched.","$ref":"#/components/schemas/SetActitoScriptsRequest"}},"text/json":{"schema":{"description":"Changes to the Actito scripts. A slot left out is left untouched.","$ref":"#/components/schemas/SetActitoScriptsRequest"}},"application/*+json":{"schema":{"description":"Changes to the Actito scripts. A slot left out is left untouched.","$ref":"#/components/schemas/SetActitoScriptsRequest"}}},"required":true},"responses":{"204":{"description":"Scripts saved."},"400":{"description":"A slot carries an empty content.","content":{"text/plain":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}},"text/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"401":{"description":"The caller is not authenticated.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"403":{"description":"The caller lacks the <c>tenant.actito.settings:write</c> scope.","content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}},"429":{"description":"Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after <c>Retry-After</c>.","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Sent when the limiter knows it.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ProblemDetails"},{"$ref":"#/components/schemas/HttpValidationProblemDetails"}]}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.thewalletcrew.io/api-reference/advanced/actito-scripts.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
