# Lookup SMS Message

## GET or POST Request

{% hint style="info" %}
<https://v1.api19.com/sms/lookup>
{% endhint %}

Lookup message details by message UUID

{% tabs %}
{% tab title="Curl Post" %}

```bash
curl https://v1.api19.com/sms/lookup \
 -d 'key=api_token' \
 -d 'uuid=550e8400-e29b-41d4-a716-446655440000'
```

{% endtab %}

{% tab title="Curl Get" %}

```bash
curl https://v1.api19.com/sms/lookup?key=apikey&uuid=550e8400-e29b-41d4-a716-446655440000
```

{% endtab %}

{% tab title="JSON Response" %}

```json
{
    "status": "ok",
    "data": {
        "insert_date": "string",
        "user_id": "string",
        "cost": "string",
        "surcharge": "string",
        "src": "string",
        "dst": "string",
        "message": "string",
        "direction": "string",
        "msg_type": "string",
        "service_type": "string"
    }
}

OR

{
    "status": "error",
    "error": "not found"
}
```

{% endtab %}
{% endtabs %}

## Parameters

* `uuid` (required) - Message UUID
