Skip to content
Meem Payment

API reference · Console

Workflow versions and publishing

The version lifecycle of a routing workflow: Draft, Validated, Approved, Published, Archived. Save drafts, validate, submit for maker-checker approval, publish, schedule, roll back and export.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Save a version draft

PUT/api/v1/routing-workflows/{id}/versions/{versionId}/draft

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required
  • versionIdstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · SaveDraftRequest

  • graphWorkflowGraph
    Show child attributes WorkflowGraph (3)
    • schemaVersioninteger (int32)
    • nodesarray<WorkflowNode>nullable
      Show child attributes WorkflowNode (3)
      • nodeIdstringnullable
      • typeWorkflowNodeType

        One of: Start · Condition · RiskDecision · Gateway · PriorityFallback · TrafficSplit · OptimizationStrategy · Terminal

      • parametersmap<string, string>nullable
    • edgesarray<WorkflowEdge>nullable
      Show child attributes WorkflowEdge (5)
      • fromNodeIdstringnullable
      • fromPortstringnullable
      • toNodeIdstringnullable
      • toPortstringnullable
      • labelstringnullable
  • expectedRowVersioninteger (int32)
  • sourcestringnullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X PUT "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/draft" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "graph": {
      "schemaVersion": 1,
      "nodes": [],
      "edges": []
    },
    "expectedRowVersion": 1,
    "source": "<source>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Put, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/draft")
{
    Content = JsonContent.Create(new
    {
        graph = new
        {
            schemaVersion = 1,
            nodes = Array.Empty<object>(),
            edges = Array.Empty<object>(),
        },
        expectedRowVersion = 1,
        source = "<source>",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/draft", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    graph: {
      schemaVersion: 1,
      nodes: [],
      edges: [],
    },
    expectedRowVersion: 1,
    source: "<source>",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type SaveDraftRequest = {
  graph?: Record<string, unknown> /* WorkflowGraph */;
  expectedRowVersion?: number;
  source?: string | null;
};

const body: SaveDraftRequest = {
  graph: {
    schemaVersion: 1,
    nodes: [],
    edges: [],
  },
  expectedRowVersion: 1,
  source: "<source>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/draft", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.put(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/draft",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "graph": {
            "schemaVersion": 1,
            "nodes": [],
            "edges": [],
        },
        "expectedRowVersion": 1,
        "source": "<source>",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Create a version

POST/api/v1/routing-workflows/{id}/versions

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Validate a version

POST/api/v1/routing-workflows/{id}/versions/{versionId}/validate

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required
  • versionIdstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/validate" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/validate");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/validate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/validate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/validate",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Publish a version

POST/api/v1/routing-workflows/{id}/versions/{versionId}/publish

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required
  • versionIdstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · PublishWorkflowRequest

  • acceptScenarioFailuresboolean
  • expectedRowVersioninteger (int32)nullable
  • effectiveFromstring (date-time)nullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/publish" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "acceptScenarioFailures": false,
    "expectedRowVersion": 1,
    "effectiveFrom": "2026-12-31T20:59:59Z"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/publish")
{
    Content = JsonContent.Create(new
    {
        acceptScenarioFailures = false,
        expectedRowVersion = 1,
        effectiveFrom = "2026-12-31T20:59:59Z",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/publish", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    acceptScenarioFailures: false,
    expectedRowVersion: 1,
    effectiveFrom: "2026-12-31T20:59:59Z",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type PublishWorkflowRequest = {
  acceptScenarioFailures?: boolean;
  expectedRowVersion?: number | null;
  effectiveFrom?: string | null;
};

const body: PublishWorkflowRequest = {
  acceptScenarioFailures: false,
  expectedRowVersion: 1,
  effectiveFrom: "2026-12-31T20:59:59Z",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/publish", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/publish",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "acceptScenarioFailures": False,
        "expectedRowVersion": 1,
        "effectiveFrom": "2026-12-31T20:59:59Z",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Submit a version for approval

POST/api/v1/routing-workflows/{id}/versions/{versionId}/submit

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required
  • versionIdstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · SubmitWorkflowVersionRequest

  • expectedRowVersioninteger (int32)

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/submit" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "expectedRowVersion": 1
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/submit")
{
    Content = JsonContent.Create(new
    {
        expectedRowVersion = 1,
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/submit", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    expectedRowVersion: 1,
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type SubmitWorkflowVersionRequest = {
  expectedRowVersion?: number;
};

const body: SubmitWorkflowVersionRequest = {
  expectedRowVersion: 1,
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/submit", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/submit",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "expectedRowVersion": 1,
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Approve a version

POST/api/v1/routing-workflows/{id}/versions/{versionId}/approve

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required
  • versionIdstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/approve" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/approve");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/approve", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/approve", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/approve",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Return a version to draft

POST/api/v1/routing-workflows/{id}/versions/{versionId}/return-to-draft

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required
  • versionIdstring (uuid)required

Headers

  • Authorizationstringrequired
  • Content-Typestringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request bodyapplication/json · ReturnToDraftRequest

  • reasonstringnullable

The spec marks no fields as required. Constraints are enforced server-side and reported as 422.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 422Validation or business rule (ValidationProblemDetails with code)
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/return-to-draft" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "<reason>"
  }'
using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/return-to-draft")
{
    Content = JsonContent.Create(new
    {
        reason = "<reason>",
    })
};

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/return-to-draft", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    reason: "<reason>",
  }),
});

console.log(res.status, await res.text());
// Generated from the OpenAPI schema.
type ReturnToDraftRequest = {
  reason?: string | null;
};

const body: ReturnToDraftRequest = {
  reason: "<reason>",
};

const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/return-to-draft", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(body),
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/return-to-draft",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    json={
        "reason": "<reason>",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Cancel a scheduled activation

DELETE/api/v1/routing-workflows/{id}/versions/{versionId}/schedule

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required
  • versionIdstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X DELETE "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/schedule" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Delete, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/schedule");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/schedule", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/schedule", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.delete(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/schedule",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Export a version

GET/api/v1/routing-workflows/{id}/versions/{versionId}/export

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required
  • versionIdstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/export" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/export");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/export", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/export", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.get(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/export",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Unpublish a workflow

POST/api/v1/routing-workflows/{id}/unpublish

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/unpublish" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/unpublish");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/unpublish", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/unpublish", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/unpublish",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Roll back to a version

POST/api/v1/routing-workflows/{id}/versions/{versionId}/rollback

ConsoleBearer token

Bearer token. The required permission isn't published in the spec.

Used by the Meem console. Not part of the merchant integration surface and may change without notice.

Path parameters

  • idstring (uuid)required
  • versionIdstring (uuid)required

Headers

  • Authorizationstringrequired
  • X-Correlation-Idstringoptional
  • X-Merchant-Contextstringoptional

Request body

No request body.

Status codes

The spec lists only 200 OK. The codes below follow the platform's status mapping. Errors guide

  • 200OK
  • 401Missing, expired or invalid token or credentials
  • 403Authenticated but not allowed (permission or merchant context)
  • 404Unknown resource, or one that belongs to another merchant
  • 429Rate limit exceeded; wait for Retry-After

Example request

curl -X POST "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/rollback" \
  -H "Authorization: Bearer $MEEM_ACCESS_TOKEN"
using System.Net.Http.Headers;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MEEM_ACCESS_TOKEN"));

using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/rollback");

using var response = await http.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/rollback", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
const res = await fetch("https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/rollback", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MEEM_ACCESS_TOKEN}`,
  },
});

console.log(res.status, await res.text());
import os
import requests

response = requests.post(
    "https://api.sandbox.meem-dev.example/api/v1/routing-workflows/<id>/versions/<versionId>/rollback",
    headers={
        "Authorization": f"Bearer {os.environ['MEEM_ACCESS_TOKEN']}",
    },
    timeout=30,
)
print(response.status_code, response.text)

Example response

The response schema isn't published in the spec yet.

Documentation reflects the platform as verified on 3 December 2026. Placeholder hosts and credentials are used throughout; your real sandbox host and keys are provided at onboarding.