Saltar para o conteúdo principal
POST
curl
O endpoint Create a Manage Link da Didit devolve uma ligação de utilização única, válida durante 15 minutos, para a página de acesso da própria pessoa relativa a uma ligação bancária. Nessa página, a pessoa vê o que partilha consigo e pode deixar de partilhar. No seu servidor, verifique que a ligação pertence ao utilizador autenticado antes de pedir uma ligação de gestão. Abra o url devolvido imediatamente. Esta ligação dispensa a prova de identidade, por isso nunca a envie por e-mail nem a registe. Repetir o mesmo pedido com o mesmo Idempotency-Key e a mesma credencial no prazo de 24 horas devolve o URL original. A repetição deixa de funcionar se a ligação bancária for eliminada: nesse caso, a nova tentativa responde com 409 idempotency_key_forgotten. Use uma chave nova para um novo clique depois de a ligação ter sido utilizada ou ter expirado. Pode criar uma ligação de gestão para uma ligação bancária de utilização única, mesmo que o seu manage_url seja null. Depois da recolha, a página indica que a partilha terminou. Para e-mails ou recibos, use o manage_url persistente apenas quando estiver presente. Este exige prova de identidade e pode também estar ausente em ligações de demonstração pré-carregadas. Consulte Página de acesso da pessoa.

Autorizações

x-api-key
string
header
obrigatório

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

Cabeçalhos

Idempotency-Key
string

Optional retry-safety key you choose for one operation, up to 255 characters (a UUID works). A request repeated with the same key, endpoint, query and body is answered with the first response, same status and same body, and runs and bills nothing a second time. The same key with another endpoint, query or body returns 409 idempotency_key_reused, and while the first request is still running, 409 idempotency_key_in_progress with Retry-After. If a deletion erased a resource named in the first request or its successful response, within 24 hours of that request's first successful response the key is refused whatever the request with 409 idempotency_key_forgotten and nothing runs. The first write already ran: if you only need its result, do not resend; to write again, send the request again with a new key. After 24 hours from the first successful response, the same key starts a new request. A write that runs and returns a 4xx or 5xx releases its key so you can retry with the same key. If Didit refuses a key before running the write, that refusal leaves the existing reservation in place. Keys belong to your application, whether you call with an API key or an access token. See Retries and idempotency.

Required string length: 1 - 255

Parâmetros de caminho

id
string<uuid>
obrigatório

The connection id.

Resposta

The manage link.

A short-lived link to the person's own access page.

url
string<uri>
obrigatório

On your server, verify that the connection belongs to the signed-in user before you request a manage link. The URL skips identity proof, works once and must never be emailed or logged.

expires_at
string<date-time>
obrigatório

When the link stops working: 15 minutes after creation.

Última modificação em 6 de dezembro de 2026