Skip to main content
POST
/
webhooks
/
{id}
/
test
JavaScript
import Mobilerun from '@mobilerun/sdk';

const client = new Mobilerun({
  apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});

const response = await client.webhooks.testDelivery('550e8400-e29b-41d4-a716-446655440000');

console.log(response.data);
{
  "data": {
    "success": true,
    "statusCode": 123,
    "error": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Path Parameters

id
string<uuid>
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Test delivery result

data
object
required