    

    

#####  Support by Topic 

 ![API Design](/sites/default/files/2026-03/Text%20Alignment%20Justified.svg)

###### API Design

Model resources, version APIs, handle errors.

 

  Learn more  

 ![Functional](/sites/default/files/2026-03/Job%20Processes.svg)

###### Functional

What each API does and common flows.

 

  Learn more  

 ![bolt](/sites/default/files/2026-03/Bolt%20Outline.svg)

###### Tips &amp; Optimization

Best practices to optimize your API integrations.

 

  Learn more  

 ![Portal settings](/sites/default/files/2026-03/Setting%20Outline.svg)

###### Portal settings

Get started, account settings and others.

 

  Learn more  

 ![Cover V2 to V3 Migration](/sites/default/files/2026-03/Icon%20Star%20Outline.svg)

###### Cover V2 to V3 Migration

Upgrade to Cover V3 for Better Performance and Long‑Term Reliability

 

  Learn more  

 ![SOAP to REST Migration](/sites/default/files/2026-03/Switch.svg)

###### SOAP to REST Migration

Move to REST for a Simpler, Modern API Experience.

 

  Learn more  

 ![Calendar Outline](/sites/default/files/2026-03/Calendar%20Outline.svg)

###### Maintenance Calendars

Planning for system outages.



 

  Learn more  

 ![Security](/sites/default/files/2026-03/Shield%20Warning%20Outline.svg)

###### Security

Security, authentication, and access management.

 

  Learn more  

 

 

##### Top 5 most asked questions

 

 What is the Allianz Trade API and where do I start?

 

Allianz Trade APIs enable you to **automate and streamline a wide range of workflows** across our solutions.  
This includes **trade credit insurance processes** such as credit limit requests, monitoring, and alerts — as well as integration with **Allianz Trade Pay** and **Surety** products directly inside your ERP or CRM.  
Our API catalog and step‑by‑step tutorials help you integrate each product efficiently.

To get started, explore the **Developer Portal** (Products, API Catalog) and follow the [**Get Started**](/docs) guide to make your first API calls.





 



 How do I create an account and generate my API key?

 

Steps:

**1. Create an account or log in** to the Developer Portal.

**2.** Once logged in, **open your account menu** (top‑right corner) and select **"Environment &amp; API Keys"**. From there, you can **request authorization** to access our backend services.

**3.**After your access is approved and you’ve completed your tests, **request your production API keys**.



**Note:**  
These steps are also explained in the **Get Started guide**, which highlights that you must **generate your own private API key** before making OAuth requests.





 



  How do I obtain an OAuth2 access token?

 To obtain an OAuth2 access token, you must call the **Allianz Trade Identity Provider (IDP)** POST */oauth2/authorize* endpoint using **your private API key**.

### **1. Prepare the Request**

**Method:** POST  
**Headers:**

```apache
<span class="hljs-attr">Content-Type:</span> <span class="hljs-string">application/json</span>
```

**URL (Test environment):**

```apache
https:<span class="hljs-comment">//api-services.uat.1placedessaisons.com/uatm/v1/idp/oauth2/authorize</span>
```

**URL (Production environment):**

```apache
https:<span class="hljs-comment">//api.allianz-trade.com/v1/idp/oauth2/authorize</span>
```

**Body:**

```json
{
	<span class="hljs-string">"apiKey"</span>: <span class="hljs-string">"YOUR_API_KEY"</span>
}
```





### **2. Handle the Response**

A successful request returns a JSON object such as:

```json
{
    <span class="hljs-string">"access_token"</span>: <span class="hljs-string">"YOUR_ACCESS_TOKEN"</span>,
    <span class="hljs-string">"token_type"</span>: <span class="hljs-string">"Bearer"</span>,
    <span class="hljs-string">"expires_in"</span>: <span class="hljs-number">3600</span>
}
```

















Tokens are valid for **60 minutes**.

Tokens **cannot be refreshed**.  
→ You must request a **new token** once the previous one expires.














































### Learn more



For full details about authentication, environments, and API keys, refer to the [**guide**](/docs#doc-section-request-access)





 



 How do I find a CompanyId if I don’t know it?

 Use the **Company Search API** to look up a company and retrieve its **companyId**.



### **Endpoints**

**Test environment:**

```apache
POST https:<span class="hljs-comment">//api-services.uat.1placedessaisons.com/search/uatm-v2/companies/advancedSearch</span>
```

**Production environment:**

```apache
POST https:<span class="hljs-comment">//api.allianz-trade.com/search/v2/companies/advancedSearch</span>
```




### **Request**

**Headers**

```apache
<span class="hljs-attr">Content-Type:</span> <span class="hljs-string">application/json</span>
<span class="hljs-attr">Authorization:</span> <span class="hljs-string">Bearer</span> <span class="hljs-string">YOUR_ACCESS_TOKEN</span>
```

**Body (basic request example)**

```json
{
    <span class="hljs-string">"companyName"</span>: <span class="hljs-string">"SOME_COMPANY_NAME"</span>,
    <span class="hljs-string">"countryCode"</span>: <span class="hljs-string">"FR"</span>,
    <span class="hljs-string">"pageSize"</span>: <span class="hljs-number">1</span>
}
```



This basic request returns the company matching your criteria, including its **companyId**.

### **Additional Information**

- The API supports **additional search parameters** (address fields, identifiers, etc.).  
    Refer to the **Company Search documentation** in the Get Started guide.
- For country codes and other key reference data (such as country‑specific identifiers), see **Key Reference Data** to keep your filters accurate and consistent.
- Always include a **country code** when possible — this reduces false positives and improves performance.
- Use **pageSize** to control response size when retrieving multiple candidates.



































 



 What is the difference between technical and functional webhook notifications?

 Webhook notifications let you avoid polling job IDs repeatedly. Instead, Allianz Trade pushes updates to your system when processing is complete. There are **two types** of notifications you may receive:



#### **1. Technical Notification**

**Trigger:** Sent **as soon as the request is technically processed** in Allianz Trade systems.

**What it confirms:**

- The object (e.g., a cover) has been **technically created or updated**.
- Processing has finished from a system/technical perspective.

**Payload contains:**

- The **cover** (technical object).

**When you will receive it:**

- Always, as long as you provide a valid webhook configuration.



#### **2. Functional Notification**

**Prerequisite:**  
You must set **extendedNotification: true**

**Trigger:** Sent **after** the technical notification, when a **business decision** becomes available (e.g., *Accepted*, *Refused*).

Functional notifications are only sent if:

- The request had a **pending decision**, and
- A business outcome becomes available later.

**Payload contains:**

- The **coverRequest**.

**Why they exist:**

Because technical creation often happens immediately, while business decisions may take more time.



### **Enabling Webhooks**

To receive webhook notifications, you must configure callback settings **in the request headers**.



**Required fields (Base64‑encoded JSON object):**

- callbackUrl — Your HTTPS endpoint to receive notifications
- timeToLive — Validity window (in hours) for the callback
- extendedNotification (optional) — Set to *true* to get functional notifications in addition to technical ones

> **Important:**  
> The callback payload must be **stringified**, **Base64‑encoded**, and your endpoint must support **HTTPS**.





### **Domain/IP Whitelisting**

Allianz Trade must **whitelist your domain or IP address** before webhook notifications can be delivered to your endpoint.

Without whitelisting, callbacks will not be sent.



### **Header Examples (Before Base64 Encoding)**

**A. Technical notifications only**

```json
{
<span class="hljs-string">"callbackUrl"</span>: <span class="hljs-string">"https://client.example.com/webhook"</span>,
<span class="hljs-string">"timeToLive"</span>: <span class="hljs-number">24</span>
}
```































**B. Technical + functional notifications**

```json
<span class="hljs-string">{</span>
<span class="hljs-attr">"callbackUrl":</span> <span class="hljs-string">"https://client.example.com/webhook"</span><span class="hljs-string">,</span>
<span class="hljs-attr">"timeToLive":</span> <span class="hljs-number">24</span><span class="hljs-string">,</span>
<span class="hljs-attr">"extendedNotification":</span> <span class="hljs-literal">true</span>
<span class="hljs-string">}</span>
```





























Encode the JSON above as a Base64 string and include it in the header according to the API specification.