# Companies

When you use our API you will most likely be assigned a companyId. This companyId will be necessary for most operations in the API as anything you read or create will be inside the scope of your company.

### Retry company wallet creation

{% openapi src="<https://api.pixway.io/docs-json>" path="/companies/{companyId}/setup" method="patch" %}
<https://api.pixway.io/docs-json>
{% endopenapi %}

### Get company details

{% openapi src="<https://api.pixway.io/docs-json>" path="/companies/{companyId}" method="get" %}
<https://api.pixway.io/docs-json>
{% endopenapi %}

### Emails

As a company you can create personalized emails for certain actions, there are 3 kinds of emails that are sent from this application and they can all be customized, they are:

* successTransferEmail
* completeAccountEmail
* ecommerceProcessingOrderEmail

Another thing that also appears on your email is your company logo, this must be set up using the ID Application

### Get company's emails

{% openapi src="<https://api.pixway.io/docs-json>" path="/companies/{companyId}/emails" method="get" %}
<https://api.pixway.io/docs-json>
{% endopenapi %}

### Post a new email custumization

{% openapi src="<https://api.pixway.io/docs-json>" path="/companies/{companyId}/emails" method="post" %}
<https://api.pixway.io/docs-json>
{% endopenapi %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://w3block.gitbook.io/w3block-eng/dev-docs/api/key-api-services/companies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
