# Get log entry GET https://api-sandbox.payabli.com/api/v2/notificationlogs/{uuid} Get detailed information for a specific notification log entry. This endpoint requires the `notifications_create` OR `notifications_read` permission. Reference: https://docs.payabli.com/developers/api-reference/notification-logs/get-notification-log ## OpenAPI Specification ```yaml openapi: 3.1.1 info: title: Get Notification Log version: endpoint_notificationlogs.getNotificationLog paths: /v2/notificationlogs/{uuid}: get: operationId: get-notification-log summary: Get Notification Log description: >- Get detailed information for a specific notification log entry. This endpoint requires the `notifications_create` OR `notifications_read` permission. tags: - - subpackage_notificationlogs parameters: - name: uuid in: path description: The notification log entry. required: true schema: type: string format: uuid - name: requestToken in: header required: true schema: type: string responses: '200': description: Response with status 200 content: application/json: schema: $ref: >- #/components/schemas/type_notificationlogs:NotificationLogDetail '400': description: Bad request/ invalid data content: {} '401': description: Unauthorized request. content: {} '500': description: Internal API Error content: {} '503': description: Database connection error content: {} components: schemas: type_notificationlogs:StringStringKeyValuePair: type: object properties: key: type: string value: type: string type_notificationlogs:KeyValueArray: type: object properties: key: type: string value: type: array items: type: string type_notificationlogs:NotificationLogDetail: type: object properties: id: type: string format: uuid description: The unique identifier for the notification. orgId: type: - integer - 'null' format: int64 description: The ID of the organization that the notification belongs to. paypointId: type: - integer - 'null' format: int64 description: The ID of the paypoint that the notification is related to. notificationEvent: type: - string - 'null' description: The event that triggered the notification. target: type: - string - 'null' description: The target URL for the notification. responseStatus: type: - string - 'null' description: The HTTP response status of the notification. success: type: boolean description: Indicates whether the notification was successful. jobData: type: - string - 'null' description: Contains the body of the notification. createdDate: type: string format: date-time description: The date and time when the notification was created. successDate: type: - string - 'null' format: date-time description: The date and time when the notification was successfully delivered. lastFailedDate: type: - string - 'null' format: date-time description: The date and time when the notification last failed. isInProgress: type: boolean description: Indicates whether the notification is currently in progress. webHeaders: type: array items: $ref: >- #/components/schemas/type_notificationlogs:StringStringKeyValuePair responseHeaders: type: array items: $ref: '#/components/schemas/type_notificationlogs:KeyValueArray' responseContent: type: string required: - id - orgId - paypointId - notificationEvent - target - responseStatus - success - jobData - createdDate - successDate - lastFailedDate - isInProgress ``` ## SDK Code Examples ```python import uuid from payabli import payabli client = payabli( api_key="YOUR_API_KEY", ) client.notificationlogs.get_notification_log( uuid_=uuid.UUID( "550e8400-e29b-41d4-a716-446655440000", ), ) ``` ```typescript import { PayabliClient } from "@payabli/sdk-node"; const client = new PayabliClient({ apiKey: "YOUR_API_KEY" }); await client.notificationlogs.getNotificationLog("550e8400-e29b-41d4-a716-446655440000"); ``` ```go import ( context "context" option "github.com/payabli/sdk-go/option" sdkgoclient "github.com/payabli/sdk-go/client" uuid "github.com/google/uuid" ) client := sdkgoclient.NewClient( option.WithApiKey( "", ), ) response, err := client.Notificationlogs.GetNotificationLog( context.TODO(), uuid.MustParse( "550e8400-e29b-41d4-a716-446655440000", ), ) ``` ```csharp using PayabliApi; var client = new PayabliApiClient("API_KEY"); await client.Notificationlogs.GetNotificationLogAsync("550e8400-e29b-41d4-a716-446655440000"); ``` ```ruby require 'uri' require 'net/http' url = URI("https://api-sandbox.payabli.com/api/v2/notificationlogs/550e8400-e29b-41d4-a716-446655440000") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["requestToken"] = '' response = http.request(request) puts response.read_body ``` ```java HttpResponse response = Unirest.get("https://api-sandbox.payabli.com/api/v2/notificationlogs/550e8400-e29b-41d4-a716-446655440000") .header("requestToken", "") .asString(); ``` ```php request('GET', 'https://api-sandbox.payabli.com/api/v2/notificationlogs/550e8400-e29b-41d4-a716-446655440000', [ 'headers' => [ 'requestToken' => '', ], ]); echo $response->getBody(); ``` ```swift import Foundation let headers = ["requestToken": ""] let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.payabli.com/api/v2/notificationlogs/550e8400-e29b-41d4-a716-446655440000")! 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() ```