prufy
Skip to the page

Setup linksCreate a setup link

Setup links

Create a setup link

Make a link that lets someone else add the record, and optionally email it.

POST/api/v1/claims/{id}/shares

The link shows one claim's record and lets its holder ask for a check. That's all adding a record takes. It can't get a new code, stop the claim or see anything else, so it's safe to forward to an agency or hand to an agent.

Send an empty object to get a link to copy. Add email and we send it too, with your note if you wrote one. emailed says whether that worked.

A link works for 30 days. The claim has to be pending or at risk, because those are the two states where a record needs adding.

Authentication

Send the session cookie. Without it the answer is unauthorized. How sessions work.

Path parameters

idstringrequired

The claim's id, from Create a claim or List claims. It starts with clm_.

Body

JSON, with content-type: application/json.

  • emailemailoptional

    Who should get the link by email. Leave it out to only get the link back.

    • At most 254 characters
  • notestringoptional

    A line from you, added to the email. It can't contain a link: the setup link is added for you.

    • At most 280 characters

Response

201 Created, with every field below present. Times are ISO 8601 strings in UTC.

  • urlURL

    The setup link. Whoever has it can see the record and run a check.

  • emailedboolean

    True when the link was also sent to email.

  • expiresAtstring

    When the link stops working: 30 days from now.

Errors

StatusKindWhen
400bad_requestThe body isn't JSON, or doesn't match the shape below. message names the first field to fix, and fields lists each one with its path.
401unauthorizedThe request has no session cookie, or one we don't recognise.
404not_foundNo claim has this id in your account. Another account's claim looks the same as one that doesn't exist.
409not_checkableThe claim isn't pending or at risk, so there's no record for anyone to add.
413payload_too_largeThe body is over 16 KB. No route takes anything near that.
429rate_limitedMore than 10 links for this claim in an hour. With email: more than 5 emailed invites from this account in an hour, more than 10 from this network address in an hour, or more than 3 to the same address in 24 hours.
503email_unavailableemail was given, but this server has no email set up. Leave it out and copy the link.

Any route can also answer 500 with internal_error. Every error has the same shape, described in Errors.