# Create a new function execution

> Create a new function execution. This API does not guarantee exactly-once execution. Retrying side-effecting operations requires application-level idempotency enforced by the function or downstream provider. A rejection applies only to this submission attempt, not to any earlier attempt.

POST

/functions/{function\_api\_name}/executions/

Creates a function execution and returns its ID and details.

#### Helpful resources

-   [Get started with functions](https://developer.rippling.com/documentation/rippling-platform/developer/functions/getting-started)
-   [Create and manage functions](https://developer.rippling.com/documentation/rest-api/guides/functions)

### Required Scopes

-   function-executions.read-write
    
-   function-executions.write
    
-   function-executions.read-write.owner
    

### Request

Path Parameters

**function\_api\_name** string required

The API name of the function.

-   application/json

**Body**

**inputs** object required

The inputs of the execution

## Responses

-   200
-   400
-   401
-   403
-   429
-   503

Successful response

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**\_\_meta** object

**redacted\_fields** object\[\]

Array \[

**name** string

The name for the redacted field

**reason** string

The reason for the redaction

\]

**id** string required

Identifier field

**created\_at** string required

Record creation date

**updated\_at** string required

Record update date

**function\_id** string required

The ID of the function this execution belongs to

**inputs** object required

The inputs of the execution

**outputs** object

The outputs of the execution

**status** string

The status of the execution

**started\_at** string

The start time of the execution

**finished\_at** string

The end time of the execution

```json
{
  "__meta": {
    "redacted_fields": [
      {
        "name": "date_of_birth",
        "reason": "Insufficient entitlements"
      }
    ]
  },
  "id": "string",
  "created_at": "string",
  "updated_at": "string",
  "function_id": "string",
  "inputs": {},
  "outputs": {},
  "status": "string",
  "started_at": "string",
  "finished_at": "string"
}
```

Submission rejected. Correct the request before resubmitting. Invocation submission errors include message; existing platform validation, permission, and rate-limit errors can use other error bodies without message.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**message** string

Human-readable explanation of the invocation submission error.

```json
{
  "message": "string"
}
```

Authentication is required or the supplied credentials are invalid.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

-   Matches one or more of these formats:
    
    1.  **Format 1**
        
        **ok** boolean required
        
        Whether the request succeeded. Always false for an authentication error.
        
        **Possible values:** \[false\]
        
        **error** string required
        
        A human-readable explanation of why authentication failed.
        
    2.  **Format 2**
        
        **detail** string required
        
        A human-readable explanation of the authentication error.
        

**Format 1**

```json
{
  "ok": false,
  "error": "Incorrect authentication credentials."
}
```

**Format 2**

```json
{
  "detail": "string"
}
```

Submission rejected. Check your permissions before resubmitting. Invocation submission errors include message; existing platform validation, permission, and rate-limit errors can use other error bodies without message.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**message** string

Human-readable explanation of the invocation submission error.

```json
{
  "message": "string"
}
```

Submission rejected because a company submission limit or receiver capacity was exceeded. Wait before resubmitting. Invocation submission errors include message; existing platform validation, permission, and rate-limit errors can use other error bodies without message.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**message** string

Human-readable explanation of the invocation submission error.

```json
{
  "message": "string"
}
```

Invocation authentication or submission service unavailable. Approval preparation failures happen before saving or submitting a run; explicit authentication rejection also means this attempt was not admitted. Resolve authentication before resubmitting these rejected requests. Other submission failures have an unknown outcome and may have produced side effects. Do not automatically resubmit when delivery is uncertain or after execution failure.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**message** string required

Human-readable explanation of the invocation submission error.

```json
{
  "message": "string"
}
```

Source: https://developer.rippling.com/documentation/rest-api/reference/create-functions-function-api-name-executions

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
