Skip to main content
All CollectionsWrk Action LibraryInvoice Ninja
Perform an API call in Invoice Ninja
Perform an API call in Invoice Ninja
Wrk Product avatar
Written by Wrk Product
Updated over 5 months ago

Perform an API call in Invoice Ninja.

Application

  • Invoice Ninja

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Endpoint

The URL of the API endpoint to access

Text (Long)

Yes

Method

The HTTP method to be used for the request

Text (Short)

Yes

Request headers

Additional headers to include in the request in JSON format

Text (Long)

No

Request body

The data to be included in the request body

Text (Long)

No

File

A file to be included in the request

File

No

Output response as a file?

Select this as true when your API call returns a file as an output

True/False

No

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Response status code

The HTTP status code returned in the response

Number

No

Response headers

Additional information provided in the response headers

Text (Long)

No

Response body

The main content of the response

Text (Long)

No

File

File

No

Outcomes

Name

Description

Success

This status is selected if the job has successfuly completed.

Unsuccessful

This status is selected if the job has completed unsuccesfully.

Impossible to Complete

This status is selected if the job has encountered an error and has not completed.

Requirements

  • N/A

Did this answer your question?