Send documents

Sends a file to a document group of the authenticated account.

Use this operation only when the requested document allows submission via the API. Use as id the group identifier returned by the pending documents check.

⚠️

Submission method

When the group has an onboardingUrl, the document must be sent through the external flow indicated in that field. Sending that document through this endpoint will be rejected.

🚧

One file per group

Each document group id accepts only one valid file at a time. When you send a new file to the same id, the previously sent file is replaced, expires and is no longer considered in the review.

A successful response confirms that the file was sent, but not that the document was approved. The review takes place afterwards and can be tracked through the registration status Webhooks.

Related content

Guides

Webhooks

References

Path Params
string
required

Unique document identifier in Asaas

Body Params
file

File

string
enum

Document Type

Responses

404

Not found

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json