Pular para o conteúdo principal
POST
curl
O endpoint Create a Manage Link da Didit retorna um link de uso único, válido por 15 minutos, para a página de acesso da própria pessoa referente a uma conexão bancária. Nessa página, ela vê o que compartilha com você e pode interromper o compartilhamento. No seu servidor, verifique se a conexão pertence ao usuário autenticado antes de solicitar um link de gerenciamento. Abra a url retornada imediatamente. A URL ignora a comprovação de identidade, então nunca a envie por e-mail nem a registre em logs. Repetir a mesma requisição com o mesmo Idempotency-Key e a mesma credencial em até 24 horas retorna a URL original. Essa repetição deixa de funcionar se a conexão for excluída: nesse caso, a tentativa responde com 409 idempotency_key_forgotten. Use uma nova chave para um novo clique depois do uso ou da expiração do link. Você pode criar um link de gerenciamento para uma conexão de uso único, mesmo que o manage_url dela seja null. Depois da coleta, a página mostra que o compartilhamento foi encerrado. Para e-mails ou comprovantes, use o manage_url persistente somente quando ele estiver presente. Ele exige comprovação e também pode estar ausente em conexões de demonstração pré-carregadas. Consulte Página de acesso para a 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