> This is Payabli documentation. For a complete page index, fetch https://docs.payabli.com/llms.txt — append .md to any page URL for lightweight markdown. For section-level indexes, query parameters, and other AI-optimized access methods, see https://docs.payabli.com/ai-agents.md

# Get outreach call status

GET https://api-sandbox.payabli.com/api/Vendor/{idVendor}/enrichment/call-status

Returns the latest AI outreach call activity for a vendor. The response is a composite object with a `state` discriminator (`none`, `scheduled`, `successful`, or `failed`); the block that matches the current state is populated. When the vendor has no call activity, `state` is `none` and the response returns HTTP 200.

Reference: https://docs.payabli.com/developers/api-reference/vendor/get-enrichment-call-status

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: payabliApi-oas
  version: 1.0.0
paths:
  /Vendor/{idVendor}/enrichment/call-status:
    get:
      operationId: get-enrichment-call-status
      summary: Get outreach call status
      description: >-
        Returns the latest AI outreach call activity for a vendor. The response
        is a composite object with a `state` discriminator (`none`, `scheduled`,
        `successful`, or `failed`); the block that matches the current state is
        populated. When the vendor has no call activity, `state` is `none` and
        the response returns HTTP 200.
      tags:
        - subpackage_vendor
      parameters:
        - name: idVendor
          in: path
          description: ID of the vendor to read call status for.
          required: true
          schema:
            type: integer
            format: int64
        - name: requestToken
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VendorCallStatusResponse'
        '401':
          description: Unauthorized request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayabliErrorBody'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayabliErrorBody'
        '503':
          description: Database connection error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayabliErrorBody'
servers:
  - url: https://api-sandbox.payabli.com/api
    description: Sandbox
  - url: https://api.payabli.com/api
    description: Production
components:
  schemas:
    VendorCallStatusScheduled:
      type: object
      properties:
        scheduledFor:
          type: string
          description: ISO-8601 timestamp of the next scheduled call attempt.
        attemptsRemaining:
          type: integer
          description: Number of call attempts left before retries are exhausted.
        maxAttempts:
          type: integer
          description: Maximum number of call attempts configured for this schedule.
      description: Details of a queued or in-progress outreach call.
      title: VendorCallStatusScheduled
    VendorCallStatusExtractedData:
      type: object
      properties:
        selectedPaymentMethod:
          type: string
          description: >-
            Payment method the vendor said they accept. Values are `card`,
            `ach`, or `check`.
        contactEmail:
          type: string
          description: Contact email collected during the call.
      description: Data extracted from a completed outreach call.
      title: VendorCallStatusExtractedData
    VendorCallStatusCompleted:
      type: object
      properties:
        completedAt:
          type: string
          description: ISO-8601 timestamp when the call ended.
        durationSeconds:
          type: integer
          description: Call duration in seconds.
        summary:
          type: string
          description: Short summary of the call.
        callId:
          type: string
          description: Reference identifier for the call.
        transcript:
          type:
            - string
            - 'null'
          description: Full call transcript. `null` when no transcript is available.
        extractedData:
          $ref: '#/components/schemas/VendorCallStatusExtractedData'
          description: Payment and contact details collected during the call.
      description: Details of a completed outreach call that returned data.
      title: VendorCallStatusCompleted
    VendorCallStatusFailed:
      type: object
      properties:
        lastAttemptAt:
          type: string
          description: ISO-8601 timestamp of the most recent call attempt.
        reason:
          type: string
          description: >-
            Reason the call didn't complete, as reported by the calling system
            (for example, `No answer`).
        attemptsRemaining:
          type: integer
          description: Number of call attempts left before retries are exhausted.
        maxAttempts:
          type: integer
          description: Maximum number of call attempts configured for this schedule.
        nextRetryScheduledFor:
          type:
            - string
            - 'null'
          description: >-
            ISO-8601 timestamp of the next scheduled retry, or `null` when no
            further retries are scheduled.
      description: Details of an outreach call that didn't complete successfully.
      title: VendorCallStatusFailed
    VendorCallStatusResponse:
      type: object
      properties:
        vendorId:
          type: integer
          format: int64
          description: ID of the vendor this status applies to.
        state:
          type: string
          description: >-
            Current call state. Values are: `none` (no call activity for the
            vendor), `scheduled` (a call is queued or being retried),
            `successful` (a call completed and returned data), or `failed` (the
            call didn't complete successfully).
        scheduled:
          $ref: '#/components/schemas/VendorCallStatusScheduled'
          description: Populated when `state` is `scheduled`.
        completed:
          $ref: '#/components/schemas/VendorCallStatusCompleted'
          description: Populated when `state` is `successful`.
        failed:
          $ref: '#/components/schemas/VendorCallStatusFailed'
          description: Populated when `state` is `failed`.
      description: >-
        Latest AI outreach call activity for a vendor. The populated block
        depends on the `state` discriminator.
      title: VendorCallStatusResponse
    PayabliErrorBodyResponseData:
      type: object
      properties:
        explanation:
          type: string
          description: Human-readable explanation of what happened.
        todoAction:
          type: string
          description: Suggested resolution.
      description: Object with detailed error context.
      title: PayabliErrorBodyResponseData
    PayabliErrorBody:
      type: object
      properties:
        isSuccess:
          type: boolean
          description: Always `false` for error responses.
        responseCode:
          type: integer
          description: |
            Code for the response. Learn more in
            [API Response Codes](/developers/api-reference/api-responses).
        responseText:
          type: string
          description: Error text describing what went wrong.
        responseData:
          $ref: '#/components/schemas/PayabliErrorBodyResponseData'
          description: Object with detailed error context.
      required:
        - isSuccess
        - responseText
      description: |
        Shape returned by every Payabli API error response. The `responseData`
        object carries human-readable error context.
      title: PayabliErrorBody
  securitySchemes:
    APIKeyAuth:
      type: apiKey
      in: header
      name: requestToken

```

## Examples

### Scheduled



**Response**

```json
{
  "vendorId": 456,
  "state": "scheduled",
  "scheduled": {
    "scheduledFor": "2026-06-16T13:00:00Z",
    "attemptsRemaining": 3,
    "maxAttempts": 3
  }
}
```

**SDK Code**

```typescript Scheduled
import { PayabliClient } from "@payabli/sdk-node";

async function main() {
    const client = new PayabliClient({
        apiKey: "YOUR_API_KEY_HERE",
    });
    await client.vendor.getEnrichmentCallStatus(456);
}
main();

```

```python Scheduled
from payabli import payabli

client = payabli(
    api_key="YOUR_API_KEY_HERE",
)

client.vendor.get_enrichment_call_status(
    id_vendor=456,
)

```

```java Scheduled
package com.example.usage;

import io.github.payabli.api.PayabliPayabliApiOasClient;

public class Example {
    public static void main(String[] args) {
        PayabliPayabliApiOasClient client = PayabliPayabliApiOasClient
            .builder()
            .apiKey("YOUR_API_KEY_HERE")
            .build();

        client.vendor().getEnrichmentCallStatus(456L);
    }
}
```

```ruby Scheduled
require "payabli"

client = Payabli::Client.new(api_key: "YOUR_API_KEY_HERE")

client.vendor.get_enrichment_call_status(id_vendor: 456)

```

```csharp Scheduled
using PayabliPayabliApiOas;
using System.Threading.Tasks;

namespace Usage;

public class Example
{
    public async Task Do() {
        var client = new PayabliPayabliApiOasClient(
            apiKey: "YOUR_API_KEY_HERE"
        );

        await client.Vendor.GetEnrichmentCallStatusAsync(
            456L
        );
    }

}

```

```go Scheduled
package example

import (
    context "context"

    client "github.com/payabli/sdk-go/client"
    option "github.com/payabli/sdk-go/option"
)

func do() {
    client := client.NewClient(
        option.WithApiKey(
            "YOUR_API_KEY_HERE",
        ),
    )
    client.Vendor.GetEnrichmentCallStatus(
        context.TODO(),
        int64(456),
    )
}

```

```php Scheduled
<?php

namespace Example;

use Payabli\PayabliClient;

$client = new PayabliClient(
    apiKey: 'YOUR_API_KEY_HERE',
);
$client->vendor->getEnrichmentCallStatus(
    456,
);

```

```swift Scheduled
import Foundation

let headers = ["requestToken": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.payabli.com/api/Vendor/456/enrichment/call-status")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Successful



**Response**

```json
{
  "vendorId": 456,
  "state": "successful",
  "completed": {
    "completedAt": "2026-06-16T13:13:42Z",
    "durationSeconds": 222,
    "summary": "Vendor confirmed they accept card payments and provided a billing email.",
    "callId": "call-3890-9f8e7d6c",
    "transcript": "AI Agent: Hi, I'm calling on behalf of Acme Corporation about payment options. Does Greenfield Landscaping accept card payments?\nVendor: Yes, we take cards. You can send receipts to our billing email.",
    "extractedData": {
      "selectedPaymentMethod": "card",
      "contactEmail": "ap@greenfield-landscaping.com"
    }
  }
}
```

**SDK Code**

```typescript Successful
import { PayabliClient } from "@payabli/sdk-node";

async function main() {
    const client = new PayabliClient({
        apiKey: "YOUR_API_KEY_HERE",
    });
    await client.vendor.getEnrichmentCallStatus(456);
}
main();

```

```python Successful
from payabli import payabli

client = payabli(
    api_key="YOUR_API_KEY_HERE",
)

client.vendor.get_enrichment_call_status(
    id_vendor=456,
)

```

```java Successful
package com.example.usage;

import io.github.payabli.api.PayabliPayabliApiOasClient;

public class Example {
    public static void main(String[] args) {
        PayabliPayabliApiOasClient client = PayabliPayabliApiOasClient
            .builder()
            .apiKey("YOUR_API_KEY_HERE")
            .build();

        client.vendor().getEnrichmentCallStatus(456L);
    }
}
```

```ruby Successful
require "payabli"

client = Payabli::Client.new(api_key: "YOUR_API_KEY_HERE")

client.vendor.get_enrichment_call_status(id_vendor: 456)

```

```csharp Successful
using PayabliPayabliApiOas;
using System.Threading.Tasks;

namespace Usage;

public class Example
{
    public async Task Do() {
        var client = new PayabliPayabliApiOasClient(
            apiKey: "YOUR_API_KEY_HERE"
        );

        await client.Vendor.GetEnrichmentCallStatusAsync(
            456L
        );
    }

}

```

```go Successful
package example

import (
    context "context"

    client "github.com/payabli/sdk-go/client"
    option "github.com/payabli/sdk-go/option"
)

func do() {
    client := client.NewClient(
        option.WithApiKey(
            "YOUR_API_KEY_HERE",
        ),
    )
    client.Vendor.GetEnrichmentCallStatus(
        context.TODO(),
        int64(456),
    )
}

```

```php Successful
<?php

namespace Example;

use Payabli\PayabliClient;

$client = new PayabliClient(
    apiKey: 'YOUR_API_KEY_HERE',
);
$client->vendor->getEnrichmentCallStatus(
    456,
);

```

```swift Successful
import Foundation

let headers = ["requestToken": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.payabli.com/api/Vendor/456/enrichment/call-status")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Failed



**Response**

```json
{
  "vendorId": 456,
  "state": "failed",
  "failed": {
    "lastAttemptAt": "2026-06-16T13:00:00Z",
    "reason": "No answer",
    "attemptsRemaining": 2,
    "maxAttempts": 3,
    "nextRetryScheduledFor": "2026-06-17T13:00:00Z"
  }
}
```

**SDK Code**

```typescript Failed
import { PayabliClient } from "@payabli/sdk-node";

async function main() {
    const client = new PayabliClient({
        apiKey: "YOUR_API_KEY_HERE",
    });
    await client.vendor.getEnrichmentCallStatus(456);
}
main();

```

```python Failed
from payabli import payabli

client = payabli(
    api_key="YOUR_API_KEY_HERE",
)

client.vendor.get_enrichment_call_status(
    id_vendor=456,
)

```

```java Failed
package com.example.usage;

import io.github.payabli.api.PayabliPayabliApiOasClient;

public class Example {
    public static void main(String[] args) {
        PayabliPayabliApiOasClient client = PayabliPayabliApiOasClient
            .builder()
            .apiKey("YOUR_API_KEY_HERE")
            .build();

        client.vendor().getEnrichmentCallStatus(456L);
    }
}
```

```ruby Failed
require "payabli"

client = Payabli::Client.new(api_key: "YOUR_API_KEY_HERE")

client.vendor.get_enrichment_call_status(id_vendor: 456)

```

```csharp Failed
using PayabliPayabliApiOas;
using System.Threading.Tasks;

namespace Usage;

public class Example
{
    public async Task Do() {
        var client = new PayabliPayabliApiOasClient(
            apiKey: "YOUR_API_KEY_HERE"
        );

        await client.Vendor.GetEnrichmentCallStatusAsync(
            456L
        );
    }

}

```

```go Failed
package example

import (
    context "context"

    client "github.com/payabli/sdk-go/client"
    option "github.com/payabli/sdk-go/option"
)

func do() {
    client := client.NewClient(
        option.WithApiKey(
            "YOUR_API_KEY_HERE",
        ),
    )
    client.Vendor.GetEnrichmentCallStatus(
        context.TODO(),
        int64(456),
    )
}

```

```php Failed
<?php

namespace Example;

use Payabli\PayabliClient;

$client = new PayabliClient(
    apiKey: 'YOUR_API_KEY_HERE',
);
$client->vendor->getEnrichmentCallStatus(
    456,
);

```

```swift Failed
import Foundation

let headers = ["requestToken": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.payabli.com/api/Vendor/456/enrichment/call-status")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```