For the complete documentation index, see llms.txt. This page is also available as Markdown.

Initiate SMS subscription

Trigger an SMS subscription flow in Recart. It sends the associated welcome flow to the recipient. Flow must be active to comply TCPA regulations.

post
Authorizations
X-Recart-API-KeystringRequired

It can be obtained in Recart account after contacting Support

Body
Responses
202

Accepted

No content

post/subscriptions
POST /app-integrations/2023-12/subscriptions HTTP/1.1
Host: api.recart.com
X-Recart-API-Key: YOUR_API_KEY
Content-Type: application/vnd.api+json
Accept: */*
Content-Length: 549

{
  "data": {
    "type": "subscriptions",
    "attributes": {
      "phoneNumber": "+36301234567",
      "source": {
        "category": "amped",
        "name": "subscription",
        "externalId": "2024 june campaign"
      },
      "browser": {
        "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko)",
        "language": "en",
        "url": "https://cars.myshopify.com/buy-this"
      },
      "sessionId": "655637bfaf3c6463c0f06d3e",
      "firstName": "John",
      "lastName": "Doe",
      "timezone": "Europe/Budapest",
      "location": {
        "city": "New York",
        "province": "New York",
        "zip": "12345",
        "country": "US",
        "ipAddress": "192.158.1.38"
      }
    }
  }
}

No content

Last updated

Was this helpful?