> For the complete documentation index, see [llms.txt](https://w3block.gitbook.io/w3block-eng/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://w3block.gitbook.io/w3block-eng/dev-docs/api/key-api-services/companies.md).

# 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 %}
