---
updatedAt: 2026-08-19T11:52:43.000Z
agentTools:
  projectIndex: https://developer.optimove.com/llms.txt
---

# Send Push

This endpoint can only be used with your Server credentials and allows you to send notifications directly to one or more customers.

> Please note that using personalization attributes in messages sent via the Mobile API is not currently supported

<br />

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "optimobile-optiweb-api",
    "version": "2.4"
  },
  "servers": [
    {
      "url": "https://optimobile-push-service-api-{region}.optimove.net/",
      "variables": {
        "region": {
          "default": "region"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v3/notifications": {
      "post": {
        "summary": "Send Push",
        "description": "This endpoint can only be used with your Server credentials and allows you to send notifications directly to one or more customers.",
        "operationId": "transactional-push",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "target"
                ],
                "properties": {
                  "target": {
                    "type": "object",
                    "properties": {
                      "userIds": {
                        "type": "array",
                        "description": "The list of CustomerIDs that should receive the message, max length per entry 255",
                        "default": [
                          "cust_001",
                          "cust002"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "installIds": {
                        "type": "array",
                        "description": "The list of VisitorIDs that should receive the message, max length per entry 255",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "content": {
                    "type": "object",
                    "required": [
                      "title",
                      "message"
                    ],
                    "properties": {
                      "title": {
                        "type": "string",
                        "default": "Title"
                      },
                      "message": {
                        "type": "string",
                        "default": "Message"
                      },
                      "url": {
                        "type": "string",
                        "description": "Set a Url to be opened in the device browser"
                      },
                      "data": {
                        "type": "string",
                        "description": "Optional object of additional key:values to be passed in the notification payload for your app to consume",
                        "default": "{\"key\":\"value\"}",
                        "format": "json"
                      },
                      "": {
                        "type": "string"
                      }
                    }
                  },
                  "collapseId": {
                    "type": "string"
                  },
                  "runBackgroundHandler": {
                    "type": "boolean",
                    "description": "Sets `content-available` for iOS",
                    "default": true
                  },
                  "ios": {
                    "type": "object",
                    "properties": {
                      "category": {
                        "type": "string",
                        "description": "This will trigger your UNNotificationContentExtension whose ID matches this category."
                      },
                      "badge": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "default": "setTo",
                            "enum": [
                              "incrementBy",
                              "setTo"
                            ]
                          },
                          "count": {
                            "type": "integer",
                            "description": "Positive or Negative integer. Set to 0 to clear badge.",
                            "default": 1,
                            "format": "int32"
                          }
                        }
                      },
                      "sound": {
                        "type": "string",
                        "description": "Sound file to play instead of the default device notification sound. Pass 'none' to disable vibration and sound for the notification."
                      },
                      "media": {
                        "type": "object",
                        "properties": {
                          "pictureUrl": {
                            "type": "string",
                            "description": "URL for image to include in notification"
                          }
                        }
                      }
                    }
                  },
                  "android": {
                    "type": "object",
                    "properties": {
                      "highPriority": {
                        "type": "boolean",
                        "description": "Boolean, sets priority flag to wake up Android devices",
                        "default": false
                      },
                      "sound": {
                        "type": "string",
                        "description": "Sound file that is included in your app to play instead of the default device notification sound."
                      },
                      "pictureUrl": {
                        "type": "string",
                        "description": "URL for image to include in notification"
                      },
                      "notificationType": {
                        "type": "string",
                        "description": "General will use the default channel on device and drop into the notification tray. Important will present a heads-up notification. Cannot be combined with notificationChannel.",
                        "default": "general",
                        "enum": [
                          "general",
                          "important"
                        ]
                      },
                      "notificationChannel": {
                        "type": "string",
                        "description": "ID of the notification channel on the device to put the notification into, must exist on the device or will fallback to \"general\". Cannot be combined with notificationType."
                      }
                    }
                  },
                  "web": {
                    "type": "object",
                    "properties": {
                      "media": {
                        "type": "object",
                        "properties": {
                          "iconUrl": {
                            "type": "string"
                          },
                          "pictureUrl": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "schedule": {
                    "type": "object",
                    "properties": {
                      "sendAt": {
                        "type": "string",
                        "description": "DateTime of format \"Y-m-d\" (for strategy \"intelligent\") or \"Y-m-d H:i\" otherwise"
                      },
                      "strategy": {
                        "type": "string",
                        "enum": [
                          "local",
                          "utc",
                          "timezone",
                          "intelligent"
                        ]
                      },
                      "pastTimes": {
                        "type": "string",
                        "enum": [
                          "ignore",
                          "nextDay"
                        ]
                      },
                      "timezone": {
                        "type": "string",
                        "description": "IANA Time Zone string"
                      }
                    }
                  },
                  "buttons": {
                    "type": "array",
                    "items": {
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Identifier of the button available in handler as 'actionId'. Required if buttons are set."
                        },
                        "text": {
                          "type": "string",
                          "description": "Label for the button. Required if buttons are set"
                        }
                      },
                      "required": [
                        "id",
                        "text"
                      ],
                      "type": "object"
                    }
                  },
                  "userMeta": {
                    "type": "string",
                    "description": "Object keyed by customerID of meta-data for each recipient",
                    "format": "json"
                  },
                  "ttl": {
                    "type": "integer",
                    "description": "Number of seconds the message should be held at the messaging gateways for delivery attempts if the device is not currently online. Maximum of 2419200s (28 days), defaults to 3 days if not set.",
                    "format": "int32"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "202",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"errors\": {\n        \"unknownUserIds\": [\"cust_001\"],\n        \"unsubscribedUserIds\": []\n    },\n    \"notification\": {\n        \"id\": 1,\n        \"title\": \"Title\",\n        \"message\": \"Message\",\n        \"isBackgroundData\": true,\n        \"url\": null,\n        \"iosConfig\": {\n            \"hasBadge\": true,\n            \"badgeType\": \"setTo\",\n            \"badgeCount\": 1\n        },\n        \"androidConfig\": {\n            \"notificationType\": \"general\"\n        },\n        \"collapseId\": null,\n        \"soundConfig\": null,\n        \"messageId\": 5,\n        \"webConfig\": null,\n        \"appId\": 1,\n        \"source\": 2,\n        \"filters\": {\n            \"userIds\": [\"cust_002\"]\n        },\n        \"schedule\": null,\n        \"data\": {\n            \"key\": \"value\"\n        },\n        \"buttons\": null,\n        \"ttl\": 1440\n    }\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "object",
                      "properties": {
                        "unknownUserIds": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "example": "cust_001"
                          }
                        },
                        "unsubscribedUserIds": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {}
                          }
                        }
                      }
                    },
                    "notification": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "title": {
                          "type": "string",
                          "example": "Title"
                        },
                        "message": {
                          "type": "string",
                          "example": "Message"
                        },
                        "isBackgroundData": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "url": {},
                        "iosConfig": {
                          "type": "object",
                          "properties": {
                            "hasBadge": {
                              "type": "boolean",
                              "example": true,
                              "default": true
                            },
                            "badgeType": {
                              "type": "string",
                              "example": "setTo"
                            },
                            "badgeCount": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            }
                          }
                        },
                        "androidConfig": {
                          "type": "object",
                          "properties": {
                            "notificationType": {
                              "type": "string",
                              "example": "general"
                            }
                          }
                        },
                        "collapseId": {},
                        "soundConfig": {},
                        "messageId": {
                          "type": "integer",
                          "example": 5,
                          "default": 0
                        },
                        "webConfig": {},
                        "appId": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "source": {
                          "type": "integer",
                          "example": 2,
                          "default": 0
                        },
                        "filters": {
                          "type": "object",
                          "properties": {
                            "userIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "example": "cust_002"
                              }
                            }
                          }
                        },
                        "schedule": {},
                        "data": {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string",
                              "example": "value"
                            }
                          }
                        },
                        "buttons": {},
                        "ttl": {
                          "type": "integer",
                          "example": 1440,
                          "default": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "// Your request was valid but all of the targeted Customers do not exist or don't have in-app messages enabled. \n// No message has been queued and the errors payload will describe the errors.\n{\n  \"notification\":null,\n  \"message\": null,\n  \"errors\": {\n      \"unknownInstallIds\": [\"cust_001\"],\n      \"unsubscribedInstallIds\": [\"cust_002\"],\n      \"unknownUserIds\": [\"visitor_001\"],\n      \"unsubscribedUserIds\": [\"visitor_002:]\n\t}\n}"
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "No content, your credentials are invalid."
                  }
                }
              }
            }
          },
          "422": {
            "description": "422",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "Your request body was invalid, inspect the response body for fields and validation failures."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```