---
schema_version: "1"
id: d5bd94315139850954216a923c638658c071e1042fdf3c06253bc98c1996319d
title: Random Split Format
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/random-split.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/random-split.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: fe4f0a16a932ca1aec24576d8f60588eaa070eef4eecc1de95745815d11ec494
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Random Split Format

The random split activity allows a marketer to create a multiple outcomes that contacts are randomly siphoned within a journey. This activity type can’t be used in a custom activity.

## Helpful Hints

- The percentages must add up to 100 and are represented as only positive integers greater than zero and less than 100.
- The outcome of this decision affects goal statistics.

## [](#journey-specification-format)Journey Specification Format

The activity must be formatted as specified below. The following JSON object is included in the `activities` array of a journey, as defined in the Journey Specification.

## Sample Request

```js
{
    "key":"Random-Split-1",
    "type":"randomSplit",
    "outcomes":[
        {
            "next":"send-sms",
            "arguments":{
                     "percentage":90
            }
        },
        {
            "next":null,
            "arguments":{
                     "percentage":10
            }
        }
    ]
}
```

## Sample Response

```js
{
    "id": "<object GUID>",
    "key":"Random-Split-1",
    "type":"randomSplit",
    "outcomes":[
        {
            "next":"send-sms",
            "arguments":{
                     "percentage":90
            }
        },
        {
            "next":null,
            "arguments":{
                     "percentage":10
            }
        }
    ]
}
```

## Related Items

[Journey Specification](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/getting-started-spec.md)
