View as Markdown

SDK reference · Python SDK

prov.account.resubmit_sending_number

prov.account.resubmit_sending_number in Python SDK. Send the corrected details of a number that needs a fix (three in any 24 hours).

Signature

prov.account.resubmit_sending_number(number_id: str, **corrections: Any = …) -> Any

Parameters

number_idstrRequired
**correctionsAny

Request fields

idstringpathRequired
The sending number's id.

Returns

Any The number, back in review.

HTTP operation

POST /v1/account/sending_numbers/{id}/resubmit: Send a number's details again

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/account/sending_numbers/snum_4f2a9c0e7b1d3e5a6c8b/resubmit`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({
    "website": "https://pellowmarsh.example/about",
    "consent": {
      "method": "sign_up_form",
      "evidence_url": "https://pellowmarsh.example/join"
    }
  }),
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.