---
title: "Create a new Function resource."
method: POST
path: "/v1/Services/{ServiceSid}/Functions"
tags: ["ServerlessV1Function"]
---

# Create a new Function resource.

`POST /v1/Services/{ServiceSid}/Functions`

Create a new Function resource.

## Path parameters

- `ServiceSid` string, required

## Response `201`

Created

- ServerlessV1ServiceFunction
  - `sid` string, nullable — The unique string that we created to identify the Function resource.
  - `account_sid` string, nullable — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Function resource.
  - `service_sid` string, nullable — The SID of the Service that the Function resource is associated with.
  - `friendly_name` string, nullable — The string that you assigned to describe the Function resource. It can be a maximum of 255 characters.
  - `date_created` string, date-time, nullable — The date and time in GMT when the Function resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  - `date_updated` string, date-time, nullable — The date and time in GMT when the Function resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  - `url` string, uri, nullable — The absolute URL of the Function resource.
  - `links` object, nullable — The URLs of nested resources of the Function resource.

## Changes

- **2023-08-10** (v1) `a3f595f8069e` — 1 info
  - api tag `ServerlessV1Function` added

[Change history](https://skmtc.dev/twilio/apis/serverless-v1/changes/v1/Services/:ServiceSid/Functions/post.md)

---

[API](https://skmtc.dev/twilio/apis/serverless-v1.md) · [All operations](https://skmtc.dev/twilio/apis/serverless-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/twilio/serverless-v1/revisions/74f59534eb42/schema)
