APIPush maps Machine States through a schema and sends them to an external HTTP endpoint. Now initiates delivery, unlike [APIPull](api-pull), where an external system requests a retrieval URL.

## Prerequisites

An owner configures the Integration. Prepare a destination URL that accepts JSON, its HTTP method, and the credentials required by the destination.

## Configure the Integration

1. Open [Integrations](https://now.obniz.com/integrations), add an Integration, and select `APIPush`.
2. Select Machines and enter a display prefix.
3. Enter the destination URL in `Endpoint` and choose `POST`, `PUT`, or `PATCH` as the `HTTP Method`.
4. Configure authentication using the table below.
5. Configure the [schema](integration#schema-settings), check it with `Transform Data`, and review the interval, timestamp format, and identification settings under `Advanced Settings` before saving.

| Authentication | Required information |
| --- | --- |
| Bearer Token | Auth Token/Key |
| X-API-Key | Auth Token/Key |
| Basic Auth | Basic Auth Username and Password |
| None | Select when the destination requires no authentication |

These credentials authenticate to the external service. They are separate from keys used to call Now APIs.

Saving enables the definition. Check the destination and payload before saving.

## Verify delivery

Check the destination logs for the HTTP method, authentication, and JSON keys and values. `Transform Data` previews the mapping; it does not verify delivery to the destination.

Communication failures can result in retries. Make sure the receiver can handle duplicates. If data does not arrive, check the URL, credentials, Machine States, interval, and quota.
